Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit 4e39ac5

Browse files
Excavator: Use baseline-java-versions to manage Java versions
1 parent b563053 commit 4e39ac5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ apply plugin: 'com.palantir.git-version'
2626
apply plugin: 'com.palantir.consistent-versions'
2727
apply plugin: 'com.palantir.external-publish-jar'
2828
apply plugin: 'com.palantir.external-publish-gradle-plugin'
29+
apply plugin: 'com.palantir.baseline-java-versions'
2930

3031
dependencies {
3132
implementation 'org.revapi:revapi-basic-features'
@@ -61,7 +62,6 @@ allprojects {
6162

6263
group 'com.palantir.gradle.revapi'
6364
version System.env.CIRCLE_TAG ?: gitVersion()
64-
sourceCompatibility = 1.8
6565
}
6666

6767
test {
@@ -99,3 +99,7 @@ publishPlugins.onlyIf {
9999
project.ext.'gradle.publish.key' = System.env["GRADLE_KEY"]
100100
project.ext.'gradle.publish.secret' = System.env["GRADLE_SECRET"]
101101

102+
javaVersions {
103+
libraryTarget = 11
104+
}
105+

0 commit comments

Comments
 (0)