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

@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import java.io.OutputStream
import java.nio.charset.StandardCharsets
import java.util.*
import kotlin.io.path.createDirectories
@@ -77,6 +78,7 @@ private fun Exec.configureTestStartFatJar(launcher: Provider<JavaLauncher>) {
inputs.files(tasks.shadowJar)
executable = launcher.get().executablePath.asFile.absolutePath
standardOutput = OutputStream.nullOutputStream()
argumentProviders.add(
CommandLineArgumentProvider {