diff --git a/build.gradle b/build.gradle index 01fdace570ce0..683aa70398b59 100644 --- a/build.gradle +++ b/build.gradle @@ -408,6 +408,10 @@ gradle.projectsEvaluated { } } +tasks.named("validateChangelogs") { + onlyIf { project.gradle.startParameter.taskNames.any { it.startsWith("checkPart") || it == 'functionalTests' } == false } +} + tasks.named("precommit") { dependsOn gradle.includedBuild('build-tools').task(':precommit') dependsOn gradle.includedBuild('build-tools-internal').task(':precommit')