fix: Resolve deprecated gradle function

This commit is contained in:
Ahmad Ansori Palembani 2025-01-01 07:44:09 +07:00
parent 85af94d810
commit 1461f048dd
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -23,7 +23,7 @@ if (gradle.startParameter.taskRequests.toString().contains("standard", true)) {
fun runCommand(command: String): String {
val byteOut = ByteArrayOutputStream()
project.exec {
providers.exec {
commandLine = command.split(" ")
standardOutput = byteOut
}