From 559073d958c38c7840c219468026afdfac2b082f Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 31 Jul 2022 11:55:53 -0400 Subject: [PATCH] Minor gradle cleanup (cherry picked from commit bfd22f8f2dd48ffd3098c9b52ebf6f003bbe5a7e) --- 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 b278cf223..92b2bf960 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 { @@ -289,7 +290,7 @@ tasks { withType { useJUnitPlatform() testLogging { - events("passed", "skipped", "failed") + events(TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.FAILED) } } @@ -308,7 +309,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("**/*")