Skip to content

Commit e66eba4

Browse files
renovate[bot]trask
andauthored
fix(deps): update errorproneversion to v2.43.0 (#7779)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Trask Stalnaker <[email protected]>
1 parent 6c780f1 commit e66eba4

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

buildSrc/src/main/kotlin/otel.errorprone-conventions.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ tasks {
5151

5252
// We use animal sniffer
5353
disable("Java8ApiChecker")
54-
disable("AndroidJdkLibsChecker")
5554

5655
// apparently disabling android doesn't disable this
5756
disable("StaticOrDefaultInterfaceMethod")

custom-checks/build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ otelJava.moduleName.set("io.opentelemetry.javaagent.customchecks")
1414
// We also can't seem to use the toolchain without the "--release" option. So disable everything.
1515

1616
java {
17-
sourceCompatibility = JavaVersion.VERSION_17
18-
targetCompatibility = JavaVersion.VERSION_17
17+
sourceCompatibility = JavaVersion.VERSION_21
18+
targetCompatibility = JavaVersion.VERSION_21
1919
toolchain {
2020
languageVersion.set(null as JavaLanguageVersion?)
2121
}
@@ -43,17 +43,17 @@ tasks {
4343
}
4444
}
4545

46-
// only test on java 17+
46+
// only test on java 21+
4747
val testJavaVersion: String? by project
48-
if (testJavaVersion != null && Integer.valueOf(testJavaVersion) < 17) {
48+
if (testJavaVersion != null && Integer.valueOf(testJavaVersion) < 21) {
4949
test {
5050
enabled = false
5151
}
5252
}
5353
}
5454

5555
tasks.withType<Test>().configureEach {
56-
// required on jdk17
56+
// required when accessing javac internals
5757
jvmArgs("--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED")
5858
jvmArgs("--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED")
5959
jvmArgs("--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED")

dependencyManagement/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ rootProject.extra["versions"] = dependencyVersions
99

1010

1111
val autoValueVersion = "1.11.0"
12-
val errorProneVersion = "2.42.0"
12+
val errorProneVersion = "2.43.0"
1313
val jmhVersion = "1.37"
1414
// Mockito 5.x.x requires Java 11 https://github.com/mockito/mockito/releases/tag/v5.0.0
1515
val mockitoVersion = "4.11.0"

0 commit comments

Comments
 (0)