aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2019-07-06 00:46:26 +0200
committersteckbrief <steckbrief@chefmail.de>2019-07-06 00:46:26 +0200
commitdb182b96c2ff3626c4afa343c6a00eb4881b456f (patch)
tree4456434cc7a8781c9e14ccd37589c353862594bd
parent3c15fbcd49eac625000f39ed90d3cd4efd647a2c (diff)
changes maven repositories to use only our proxy; fixes App crash when opening settings screens (e.g. UI Settings)
-rw-r--r--build.gradle22
1 files 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"