diff options
-rw-r--r-- | build.gradle.kts | 2 | ||||
-rw-r--r-- | main/build.gradle.kts | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 9c542106..1ede308f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -10,7 +10,7 @@ buildscript { jcenter() } dependencies { - classpath("com.android.tools.build:gradle:3.5.2") + classpath("com.android.tools.build:gradle:3.5.3") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50") } } diff --git a/main/build.gradle.kts b/main/build.gradle.kts index a484957e..7fee6c0a 100644 --- a/main/build.gradle.kts +++ b/main/build.gradle.kts @@ -65,6 +65,7 @@ android { val keystoreAlias: String? by project keyAlias = keystoreAlias } + } lintOptions { @@ -75,7 +76,12 @@ android { buildTypes { getByName("release") { - signingConfig = signingConfigs.getByName("release") + if (project.hasProperty("icsopenvpnDebugSign")) { + logger.warn("property icsopenvpnDebugSign set, using debug signing for release") + signingConfig = android.signingConfigs.getByName("debug") + } else { + signingConfig = signingConfigs.getByName("release") + } } } |