Skip to content

Commit

Permalink
fix gragle configure
Browse files Browse the repository at this point in the history
  • Loading branch information
bcmsocial authored and wangshuhe committed Mar 4, 2020
1 parent df8b43f commit b7fc34c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 37 deletions.
Empty file.
19 changes: 0 additions & 19 deletions amap/src/main/res/drawable/amap_gps_locale_icon.xml

This file was deleted.

31 changes: 13 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
//apply plugin: 'architecture-lint'
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.41'

repositories {
google()
jcenter()
maven { url uri('./thirdpart/repo') }
maven { url 'http://repo.yypm.com:8181/nexus/content/groups/public' }
maven { url 'https://dl.bintray.com/umsdk/release' }
maven { url 'http://storage.googleapis.com/r8-releases/raw' }
}
dependencies {
Expand All @@ -12,22 +15,20 @@ buildscript {
classpath 'com.bcm.plugin.fcm:analytics_disable:1.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

// classpath files('app/libs/gradle-witness.jar')
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// classpath 'com.google.gms:google-services:4.3.2'
// classpath 'io.fabric.tools:gradle:1.25.1'
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.6'

//classpath "tv.athena:api-gradle-plugin:2.2.3"
//classpath "de.undercouch:gradle-download-task:3.2.0"
}
}

allprojects {
repositories {
google()
jcenter()
maven { url uri('../thirdpart/repo') }
maven { url 'http://repo.yypm.com:8181/nexus/content/groups/public' }
maven { url 'https://dl.bintray.com/umsdk/release' }
maven { url "https://jitpack.io" }
maven {
url "https://s3.amazonaws.com/repo.commonsware.com"
}
}

subprojects {
Expand Down Expand Up @@ -78,13 +79,7 @@ allprojects {
}

static def getAppId() {
if (branch().startsWith("origin/release") || branch().startsWith("release")) {
return "com.bcm.messenger"
} else if (branch().length() == 0) {
return "com.bcm.messenger.local"
} else {
return "com.bcm.messenger.dev"
}
return "com.bcm.messenger.dev"
}

static def branch() {
Expand Down

0 comments on commit b7fc34c

Please sign in to comment.