diff --git a/build.gradle b/build.gradle index b8aae87..468976d 100644 --- a/build.gradle +++ b/build.gradle @@ -5,6 +5,8 @@ buildscript { } dependencies { + classpath 'com.palantir.gradle.jdks:gradle-jdks:0.27.0' + classpath 'com.palantir.gradle.jdkslatest:gradle-jdks-latest:0.4.0' classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.11.0' classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.28.0' classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.11.0' @@ -18,9 +20,10 @@ apply plugin: 'com.palantir.baseline' apply plugin: 'com.palantir.git-version' apply plugin: 'com.palantir.consistent-versions' apply plugin: 'com.palantir.baseline-java-versions' +apply plugin: 'com.palantir.jdks.latest' javaVersions { - libraryTarget = 8 + libraryTarget = 11 runtime = 17 }