configure java version and main class in gradle

main
jbb01 6 months ago
parent 137c0b2190
commit 7a5526f987

@ -1,5 +1,16 @@
plugins { plugins {
id("java") id("java")
id("application")
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(22)
}
}
application {
mainClass = "eu.jonahbauer.raytracing.Main"
} }
dependencies { dependencies {

Loading…
Cancel
Save