1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-19 12:11:40 +02:00

Restore build.gradle.kts to Java 17 by default

This commit is contained in:
MetaPrime
2025-04-15 08:41:37 -07:00
parent 7990eaaa4d
commit bac47747e7

View File

@@ -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"