1- // apply plugin: 'architecture-lint'
1+ // Top-level build file where you can add configuration options common to all sub-projects/modules.
22buildscript {
3+ ext. kotlin_version = ' 1.3.41'
34
45 repositories {
6+ google()
7+ jcenter()
58 maven { url uri(' ./thirdpart/repo' ) }
6- maven { url ' http ://repo.yypm .com:8181/nexus/content/groups/public ' }
9+ maven { url ' https ://dl.bintray .com/umsdk/release ' }
710 maven { url ' http://storage.googleapis.com/r8-releases/raw' }
811 }
912 dependencies {
@@ -12,22 +15,20 @@ buildscript {
1215 classpath ' com.bcm.plugin.fcm:analytics_disable:1.0.0'
1316 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1417
15- // classpath files('app/libs/gradle-witness.jar')
16- // NOTE: Do not place your application dependencies here; they belong
17- // in the individual module build.gradle files
18- // classpath 'com.google.gms:google-services:4.3.2'
19- // classpath 'io.fabric.tools:gradle:1.25.1'
2018 classpath ' com.google.protobuf:protobuf-gradle-plugin:0.8.6'
21-
22- // classpath "tv.athena:api-gradle-plugin:2.2.3"
23- // classpath "de.undercouch:gradle-download-task:3.2.0"
2419 }
2520}
2621
2722allprojects {
2823 repositories {
24+ google()
25+ jcenter()
2926 maven { url uri(' ../thirdpart/repo' ) }
30- maven { url ' http://repo.yypm.com:8181/nexus/content/groups/public' }
27+ maven { url ' https://dl.bintray.com/umsdk/release' }
28+ maven { url " https://jitpack.io" }
29+ maven {
30+ url " https://s3.amazonaws.com/repo.commonsware.com"
31+ }
3132 }
3233
3334 subprojects {
@@ -78,13 +79,7 @@ allprojects {
7879}
7980
8081static def getAppId () {
81- if (branch(). startsWith(" origin/release" ) || branch(). startsWith(" release" )) {
82- return " com.bcm.messenger"
83- } else if (branch(). length() == 0 ) {
84- return " com.bcm.messenger.local"
85- } else {
86- return " com.bcm.messenger.dev"
87- }
82+ return " com.bcm.messenger.dev"
8883}
8984
9085static def branch () {
0 commit comments