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:
Daniel Chao
2025-03-03 12:08:48 -08:00
committed by GitHub
parent 3baefbcfd3
commit 5021107269
6 changed files with 12 additions and 8 deletions

View File

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