Skip to content

Commit

Permalink
Excavator: Use baseline-java-versions to manage Java versions
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot committed Aug 16, 2023
1 parent c42332c commit 88d2e95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .circleci/template.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env bash
export CIRCLECI_TEMPLATE=java-library-oss
export JDK=17
export UNIT_TEST_11=true
export UNIT_TEST_15=true
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ apply plugin: 'com.palantir.external-publish'
apply plugin: 'com.palantir.git-version'
apply plugin: 'com.palantir.baseline'
apply plugin: 'com.palantir.consistent-versions'
apply plugin: 'com.palantir.baseline-java-versions'

version System.env.CIRCLE_TAG ?: gitVersion()

Expand All @@ -45,8 +46,6 @@ subprojects {
apply plugin: 'java-library'
apply plugin: 'org.inferred.processors'

sourceCompatibility = 11
targetCompatibility = 11

tasks.withType(Checkstyle) {
enabled = false
Expand Down Expand Up @@ -91,3 +90,7 @@ idea.project.ipr.withXml { xml ->
</component>
'''))
}

javaVersions {
libraryTarget = 11
}

0 comments on commit 88d2e95

Please sign in to comment.