From db182b96c2ff3626c4afa343c6a00eb4881b456f Mon Sep 17 00:00:00 2001 From: steckbrief Date: Sat, 6 Jul 2019 00:46:26 +0200 Subject: changes maven repositories to use only our proxy; fixes App crash when opening settings screens (e.g. UI Settings) --- build.gradle | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/build.gradle b/build.gradle index 4c8ce0816..e23dfc0ee 100644 --- a/build.gradle +++ b/build.gradle @@ -2,8 +2,9 @@ // sub-projects/modules. buildscript { repositories { - jcenter() - google() + maven { + url "https://mvn.thedevstack.de/mvn" + } } dependencies { classpath 'com.android.tools.build:gradle:3.4.1' @@ -14,21 +15,15 @@ apply plugin: 'com.android.application' allprojects { repositories { - google() - jcenter() - mavenCentral() maven { - url "https://jitpack.io" + url "https://mvn.thedevstack.de/mvn" } } } repositories { - google() - jcenter() - mavenCentral() maven { - url "https://jitpack.io" + url "https://mvn.thedevstack.de/mvn" } } @@ -93,10 +88,13 @@ ext { preDexEnabled = System.getProperty("pre-dex", "true") } + android { compileSdkVersion 28 + def appId = "de.thedevstack.piratx" + defaultConfig { minSdkVersion 16 targetSdkVersion 28 @@ -105,11 +103,10 @@ android { versionName "0.0.1" archivesBaseName += "-$versionName" - applicationId "de.thedevstack.piratx" + applicationId appId multiDexEnabled true buildConfigField("String", "UPDATE_URL", '"NULL"') resValue "string", "applicationId", applicationId - dimension "distribution" } dataBinding { @@ -135,6 +132,7 @@ android { dimension "stage" applicationIdSuffix ".beta" versionNameSuffix "-beta" + resValue "string", "applicationId", appId + applicationIdSuffix } piratx { dimension "distribution" -- cgit v1.2.3