13
0
geforkt von Mirrors/Paper

[ci skip] Use Java toolchain for run tasks (#6108)

Dieser Commit ist enthalten in:
Jason Penilla 2021-07-07 06:18:02 -07:00
Ursprung fa7bf2d3dc
Commit 737c162fe2

Datei anzeigen

@ -135,6 +135,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ doFirst {
+ workingDir.mkdirs()
+ }
+ javaLauncher.set(project.javaToolchains.launcherFor {
+ languageVersion.set(JavaLanguageVersion.of(project.tasks.compileJava.get().options.release.get()))
+ })
+ block(this)
+}
+