We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efb719c commit 0e13d74Copy full SHA for 0e13d74
build.gradle
@@ -18,6 +18,7 @@ apply plugin: 'com.palantir.external-publish'
18
apply plugin: 'com.palantir.baseline'
19
apply plugin: 'com.palantir.git-version'
20
apply plugin: 'com.palantir.consistent-versions'
21
+apply plugin: 'com.palantir.baseline-java-versions'
22
23
version gitVersion()
24
@@ -33,12 +34,14 @@ allprojects {
33
34
mavenCentral() { metadataSources { mavenPom(); ignoreGradleMetadataRedirection() } }
35
}
36
- sourceCompatibility = '1.8'
37
- targetCompatibility = '1.8'
38
39
tasks.withType(JavaCompile) {
40
options.compilerArgs += ['-Werror']
41
42
43
tasks.check.dependsOn javadoc, checkUnusedDependencies
44
+
45
+javaVersions {
46
+ libraryTarget = 11
47
+}
0 commit comments