diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 3c0ca8476c..c3b8b5a632 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -1,3 +1,4 @@ +import org.gradle.api.tasks.testing.logging.TestLogEvent import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { @@ -283,7 +284,7 @@ tasks { withType { useJUnitPlatform() testLogging { - events("passed", "skipped", "failed") + events(TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.FAILED) } } @@ -302,7 +303,7 @@ tasks { } // Duplicating Hebrew string assets due to some locale code issues on different devices - val copyHebrewStrings = task("copyHebrewStrings", type = Copy::class) { + val copyHebrewStrings by registering(Copy::class) { from("./src/main/res/values-he") into("./src/main/res/values-iw") include("**/*")