From da4c3da7581ab0a61bc86b914fd1c02cc6b65ae1 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Thu, 19 Sep 2019 08:55:27 -0500 Subject: [PATCH] Revert variable name change --- app/build.gradle.kts | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index dbd05fa4c..5eb4b2f2a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -67,22 +67,23 @@ android { targetCompatibility = JavaVersion.VERSION_1_8 } + @Suppress("LocalVariableName") buildTypes { getByName("debug") { - val tasksMapboxKeyDebug: String? by project - val tasksGoogleKeyDebug: String? by project + val tasks_mapbox_key_debug: String? by project + val tasks_google_key_debug: String? by project applicationIdSuffix = ".debug" - resValue("string", "mapbox_key", tasksMapboxKeyDebug ?: "") - resValue("string", "google_key", tasksGoogleKeyDebug ?: "") + resValue("string", "mapbox_key", tasks_mapbox_key_debug ?: "") + resValue("string", "google_key", tasks_google_key_debug ?: "") isTestCoverageEnabled = project.hasProperty("coverage") } getByName("release") { - val tasksMapboxKey: String? by project - val tasksGoogleKey: String? by project + val tasks_mapbox_key: String? by project + val tasks_google_key: String? by project - resValue("string", "mapbox_key", tasksMapboxKey ?: "") - resValue("string", "google_key", tasksGoogleKey ?: "") + resValue("string", "mapbox_key", tasks_mapbox_key ?: "") + resValue("string", "google_key", tasks_google_key ?: "") isMinifyEnabled = true proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard.pro") signingConfig = signingConfigs.getByName("release")