Skip to content

Commit

Permalink
Excavator: Use baseline-java-versions to manage Java versions (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot authored Sep 22, 2022
1 parent 876feae commit 0955b27
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ apply plugin: 'com.palantir.baseline'
apply plugin: 'com.palantir.external-publish'
apply plugin: 'com.palantir.consistent-versions'
apply plugin: 'com.palantir.git-version'
apply plugin: 'com.palantir.baseline-java-versions'

allprojects {
group 'com.palantir.human-readable-types'
Expand All @@ -48,7 +49,6 @@ subprojects {
apply plugin: 'com.palantir.baseline-class-uniqueness'
apply plugin: 'com.palantir.java-format'

sourceCompatibility = 1.8

tasks.withType(JavaCompile) {
options.compilerArgs += ['-Werror']
Expand All @@ -60,3 +60,7 @@ subprojects {
systemProperty 'recreate', System.getProperty('recreate', 'false')
}
}

javaVersions {
libraryTarget = 11
}

0 comments on commit 0955b27

Please sign in to comment.