mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-02-02 03:36:48 +01:00
Upgrade android gradle plugin to v3.3.0. Also upgraded plugins that would
otherwise generate warning message (dexcount, play-publisher).
This commit is contained in:
parent
1c9b4be17a
commit
62711d9a11
@ -1,7 +1,19 @@
|
|||||||
|
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
|
import org.apache.tools.ant.filters.ReplaceTokens
|
||||||
|
|
||||||
apply plugin: "com.android.application"
|
apply plugin: "com.android.application"
|
||||||
apply plugin: 'com.github.triplet.play'
|
|
||||||
apply plugin: 'com.getkeepsafe.dexcount'
|
apply plugin: 'com.getkeepsafe.dexcount'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@ -9,15 +21,6 @@ repositories {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
buildscript {
|
|
||||||
repositories {
|
|
||||||
jcenter()
|
|
||||||
}
|
|
||||||
dependencies {
|
|
||||||
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.2'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
def getMyVersionName() {
|
def getMyVersionName() {
|
||||||
def parsedManifestXml = (new XmlSlurper())
|
def parsedManifestXml = (new XmlSlurper())
|
||||||
.parse("${projectDir}/src/main/AndroidManifest.xml")
|
.parse("${projectDir}/src/main/AndroidManifest.xml")
|
||||||
@ -198,7 +201,7 @@ dependencies {
|
|||||||
|
|
||||||
play {
|
play {
|
||||||
serviceAccountEmail = '522080222319-compute@developer.gserviceaccount.com'
|
serviceAccountEmail = '522080222319-compute@developer.gserviceaccount.com'
|
||||||
pk12File = file('../serviceaccount-c3d7d0f61387.p12')
|
serviceAccountCredentials = file('../serviceaccount-c3d7d0f61387.p12')
|
||||||
}
|
}
|
||||||
|
|
||||||
// about.html is templatized so that we can automatically insert
|
// about.html is templatized so that we can automatically insert
|
||||||
|
@ -7,8 +7,7 @@ buildscript {
|
|||||||
google()
|
google()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:3.1.0'
|
classpath 'com.android.tools.build:gradle:3.3.0'
|
||||||
classpath "com.github.triplet.gradle:play-publisher:1.2.0"
|
|
||||||
// Exclude the version that the android plugin depends on.
|
// Exclude the version that the android plugin depends on.
|
||||||
configurations.classpath.exclude group: "com.android.tools.external.lombok"
|
configurations.classpath.exclude group: "com.android.tools.external.lombok"
|
||||||
}
|
}
|
||||||
@ -38,7 +37,7 @@ subprojects {
|
|||||||
|
|
||||||
project.ext {
|
project.ext {
|
||||||
compileSdkVersion = 26
|
compileSdkVersion = 26
|
||||||
buildToolsVersion = "27.0.3"
|
buildToolsVersion = "28.0.3"
|
||||||
minSdkVersion = 14
|
minSdkVersion = 14
|
||||||
targetSdkVersion = 26
|
targetSdkVersion = 26
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user