mirror of
https://github.com/apple/pkl.git
synced 2026-04-21 16:01:31 +02:00
Update Gradle to 8.13 (#1008)
Also: * Replace usages of deprecated APIs * Prevent `testStart*` tasks from writing to standard output
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
import java.io.ByteArrayOutputStream
|
||||
import java.io.OutputStream
|
||||
import org.gradle.kotlin.dsl.support.serviceOf
|
||||
|
||||
plugins {
|
||||
@@ -148,6 +149,7 @@ private fun setupJavaExecutableRun(
|
||||
null -> "java"
|
||||
else -> launcher.get().executablePath.asFile.absolutePath
|
||||
}
|
||||
standardOutput = OutputStream.nullOutputStream()
|
||||
|
||||
args("-jar", javaExecutable.get().outputs.files.singleFile.toString(), *args)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user