Skip to content

Commit 2b0195e

Browse files
committed
Update litho-annotations version to 0.49.1
1 parent 9cc3d8a commit 2b0195e

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

gradle/build-logic/src/main/kotlin/net/kautler/versions.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ build-jacoco = "0.8.14"
3737
build-javadoc = "21"
3838
build-javaparser = "3.28.0"
3939
build-kotlinx-serialization = "1.7.3"
40-
build-litho-annotations = "0.47.0"
40+
build-litho-annotations = "0.49.1"
4141
build-pmd = "7.22.0"
4242
build-spotbugs = "4.9.8"
4343
build-spotbugs-plugin-findsecbugs = "1.14.0"

0 commit comments

Comments
 (0)