From 4018277645acc4d09ff55c45bd12085fb347fef1 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Mon, 10 Apr 2023 23:31:35 -0500 Subject: [PATCH] Use builtin build types --- app/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index cd7db9eb5..883a24a59 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -99,7 +99,7 @@ android { @Suppress("LocalVariableName") buildTypes { - getByName("debug") { + debug { configure { mappingFileUploadEnabled = false } @@ -113,7 +113,7 @@ android { resValue("string", "tasks_places_url", tasks_caldav_url ?: "https://places.tasks.org") enableUnitTestCoverage = project.hasProperty("coverage") } - getByName("release") { + release { val tasks_mapbox_key: String? by project val tasks_google_key: String? by project resValue("string", "mapbox_key", tasks_mapbox_key ?: "")