From bfd22f8f2dd48ffd3098c9b52ebf6f003bbe5a7e Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 31 Jul 2022 11:55:53 -0400 Subject: [PATCH] Minor gradle cleanup --- app/build.gradle.kts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 3c0ca8476..c3b8b5a63 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("**/*")