From f5dfe2959a4170f53fe01cac2c1615730aa1e538 Mon Sep 17 00:00:00 2001 From: Excavator Bot <33266368+svc-excavator-bot@users.noreply.github.com> Date: Tue, 6 Dec 2022 20:31:56 +0000 Subject: [PATCH] Excavator: Apply gradle-jdks to OSS projects (#135) --- build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 }