File tree Expand file tree Collapse file tree
build-logic/src/main/kotlin/net/kautler Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,6 +173,14 @@ tasks.dependencyUpdates {
173173 reject(" Minimum supported version is Java 11" )
174174 }
175175
176+ if ((candidate.group == libs.build.litho.annotations.get().group) &&
177+ (candidate.module == libs.build.litho.annotations.get().name) &&
178+ ((candidate.version.substringBefore(" ." ).toInt() > 0 ) ||
179+ (candidate.version.substringAfter(" ." ).substringBefore(" ." ).toInt() > 49 ))
180+ ) {
181+ reject(" Minimum supported version is Java 11" )
182+ }
183+
176184 // branches above already rejected with appropriate reason
177185 return @rejectVersionIf false
178186 }
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ build-jacoco = "0.8.14"
3737build-javadoc = " 21"
3838build-javaparser = " 3.28.0"
3939build-kotlinx-serialization = " 1.7.3"
40- build-litho-annotations = " 0.47.0 "
40+ build-litho-annotations = " 0.49.1 "
4141build-pmd = " 7.22.0"
4242build-spotbugs = " 4.9.8"
4343build-spotbugs-plugin-findsecbugs = " 1.14.0"
You can’t perform that action at this time.
0 commit comments