simplify build concerning maven repos

This commit is contained in:
Hannes Achleitner 2019-01-27 12:45:32 +01:00
parent 9ca7888d92
commit e9c10cdaa8
3 changed files with 3 additions and 22 deletions

View File

@ -1,25 +1,11 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.5'
}
}
plugins {
id('com.github.triplet.play') version '2.0.0'
}
import org.apache.tools.ant.filters.ReplaceTokens
apply plugin: "com.android.application"
apply plugin: 'com.getkeepsafe.dexcount'
repositories {
maven { url "https://jitpack.io" }
mavenCentral()
}
import org.apache.tools.ant.filters.ReplaceTokens
android {
compileSdkVersion rootProject.ext.compileSdkVersion

View File

@ -6,8 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
// Exclude the version that the android plugin depends on.
configurations.classpath.exclude group: "com.android.tools.external.lombok"
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.5'
}
}
@ -15,6 +14,7 @@ allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
}

View File

@ -40,11 +40,6 @@ android {
}
repositories {
maven { url "https://jitpack.io" }
mavenCentral()
}
dependencies {
implementation "com.android.support:support-v4:$supportVersion"
implementation "com.android.support:appcompat-v7:$supportVersion"