Skip to content

Commit 702851a

Browse files
committed
wip
1 parent ae88202 commit 702851a

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

dd-java-agent/agent-iast/build.gradle

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,14 @@ plugins {
88
id 'net.ltgt.errorprone' version '3.1.0'
99
}
1010

11-
apply from: "$rootDir/gradle/java.gradle"
12-
apply from: "$rootDir/gradle/version.gradle"
13-
14-
java {
15-
toolchain {
16-
languageVersion.set(JavaLanguageVersion.of(11))
17-
}
18-
sourceCompatibility = 1.8
19-
targetCompatibility = 1.8
11+
ext {
12+
defaultJdkVersion = 11
13+
defaultJavaVersion = 8
14+
defaultJavaCompilerRelease = 8
2015
}
2116

22-
tasks.withType(AbstractCompile).configureEach {
23-
// ensure no APIs beyond JDK8 are used
24-
options.release = 8
25-
}
17+
apply from: "$rootDir/gradle/java.gradle"
18+
apply from: "$rootDir/gradle/version.gradle"
2619

2720
// First version with Mac M1 support
2821
def grpcVersion = '1.42.2'

0 commit comments

Comments
 (0)