Skip to content

Commit 145b0d4

Browse files
committed
[Build] Make build depend on verifyJavaIrCodecsInSync so that the check is always executed.
1 parent 6e319fa commit 145b0d4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ plugins {
2424
id "com.github.ben-manes.versions" version "0.39.0"
2525
}
2626

27-
defaultTasks 'clean', 'verifyJavaIrCodecsInSync', 'build'
27+
defaultTasks 'clean', 'build'
2828

2929
static def getBuildJavaVersion() {
3030
def buildJavaVersion = System.getenv('BUILD_JAVA_VERSION') ?: JavaVersion.current().getMajorVersion()
@@ -744,13 +744,15 @@ def isNonStable = { String version ->
744744
return !stableKeyword && !(version ==~ regex)
745745
}
746746

747-
tasks.named("dependencyUpdates").configure {
747+
tasks.named('dependencyUpdates').configure {
748748
// Reject all non stable versions
749749
rejectVersionIf {
750750
isNonStable(it.candidate.version)
751751
}
752752
}
753753

754+
tasks.findByName('build').dependsOn verifyJavaIrCodecsInSync
755+
754756
wrapper {
755757
gradleVersion = '7.1.1'
756758
distributionType = 'ALL'

0 commit comments

Comments
 (0)