diff options
author | Hannes Achleitner <hannes.software@gmx.at> | 2019-01-27 12:45:32 +0100 |
---|---|---|
committer | Hannes Achleitner <hannes.software@gmx.at> | 2019-01-27 12:45:32 +0100 |
commit | e9c10cdaa828c93c70ad94c4bc6b9020df3f6699 (patch) | |
tree | 58e82d93110d98fa3185ab63ffc828cfc19baee2 | |
parent | 9ca7888d92446bd7def87b255b01fce4f5eed04f (diff) | |
download | AntennaPod-e9c10cdaa828c93c70ad94c4bc6b9020df3f6699.zip |
simplify build concerning maven repos
-rw-r--r-- | app/build.gradle | 16 | ||||
-rw-r--r-- | build.gradle | 4 | ||||
-rw-r--r-- | core/build.gradle | 5 |
3 files changed, 3 insertions, 22 deletions
diff --git a/app/build.gradle b/app/build.gradle index 502d2c55f..12ed8e0e8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 diff --git a/build.gradle b/build.gradle index 5cd8395cd..f2c287089 100644 --- a/build.gradle +++ b/build.gradle @@ -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" } } } diff --git a/core/build.gradle b/core/build.gradle index f433e3355..dcce2c021 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -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" |