From bac47747e792c4cefef875584099b4a3a501ca5d Mon Sep 17 00:00:00 2001 From: MetaPrime Date: Tue, 15 Apr 2025 08:41:37 -0700 Subject: [PATCH] Restore build.gradle.kts to Java 17 by default --- build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index f1f4e9aa..2ac8aed1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,10 +1,11 @@ // the build derives a version with the jgitver plugin out of a tag in the git history. when there is no // git repo, the jgitver default would be 0.0.0. one can override this version with a parameter. also, permit // to start the build setting the javac release parameter, no parameter means build for java-17: +// gradle clean build -PjavacRelease=17 // gradle clean build -PjavacRelease=21 // gradle clean build -PcustomVersion=1.0.0-10-asdf val customVersion = (project.findProperty("customVersion") ?: "") as String -val javacRelease = (project.findProperty("javacRelease") ?: "21") as String +val javacRelease = (project.findProperty("javacRelease") ?: "17") as String plugins { id("fr.brouillard.oss.gradle.jgitver") version "0.9.1"