geforkt von Mirrors/Paper
[ci skip] Use Java toolchain for run tasks (#6108)
Dieser Commit ist enthalten in:
Ursprung
fa7bf2d3dc
Commit
737c162fe2
@ -135,6 +135,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ doFirst {
|
+ doFirst {
|
||||||
+ workingDir.mkdirs()
|
+ workingDir.mkdirs()
|
||||||
+ }
|
+ }
|
||||||
|
+ javaLauncher.set(project.javaToolchains.launcherFor {
|
||||||
|
+ languageVersion.set(JavaLanguageVersion.of(project.tasks.compileJava.get().options.release.get()))
|
||||||
|
+ })
|
||||||
+ block(this)
|
+ block(this)
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren