Skip to content

Commit e687aa9

Browse files
Build workaround.
1 parent 8fdf26b commit e687aa9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dd-java-agent/instrumentation/aerospike-4.0/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,10 @@ dependencies {
3333
tasks.withType(Test).configureEach {
3434
usesService(testcontainersLimit)
3535
}
36+
37+
// TODO: strange workaround for Groovy?
38+
tasks.matching { it.name.startsWith('compileLatestDep') && it.name.endsWith('Groovy') }.configureEach {
39+
javaLauncher = javaToolchains.launcherFor {
40+
it.languageVersion = JavaLanguageVersion.of(21)
41+
}
42+
}

0 commit comments

Comments
 (0)