Update Studio and some dependencies
This commit is contained in:
parent
dccc44365b
commit
6aa4a9c091
|
@ -4,8 +4,6 @@ plugins {
|
|||
id('com.github.triplet.play') version '2.3.0' apply false
|
||||
}
|
||||
|
||||
import org.apache.tools.ant.filters.ReplaceTokens
|
||||
|
||||
android {
|
||||
compileSdkVersion rootProject.ext.compileSdkVersion
|
||||
|
||||
|
@ -22,17 +20,18 @@ android {
|
|||
versionName "2.0.0-alpha1"
|
||||
testApplicationId "de.test.antennapod"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
generatedDensities = []
|
||||
vectorDrawables.generatedDensities = []
|
||||
|
||||
def commit = "Unknown commit"
|
||||
try {
|
||||
commit = "git rev-parse --short HEAD".execute().text.trim()
|
||||
} catch (Exception ignore) { }
|
||||
} catch (Exception ignore) {
|
||||
}
|
||||
buildConfigField "String", "COMMIT_HASH", ('"' + commit + '"')
|
||||
|
||||
javaCompileOptions {
|
||||
annotationProcessorOptions {
|
||||
arguments = [ eventBusIndex : 'de.danoeh.antennapod.ApEventBusIndex' ]
|
||||
arguments = [eventBusIndex: 'de.danoeh.antennapod.ApEventBusIndex']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -75,12 +74,12 @@ android {
|
|||
// de.danoeh.antennapod.PodcastApp to extend MultiDexApplication .
|
||||
// See Issue #2813
|
||||
multiDexEnabled true
|
||||
|
||||
|
||||
dexcount {
|
||||
if (project.hasProperty("enableDexcountInDebug")) {
|
||||
runOnEachPackage enableDexcountInDebug.toBoolean()
|
||||
} else { // default to not running dexcount
|
||||
runOnEachPackage false
|
||||
runOnEachPackage false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -138,15 +137,17 @@ dependencies {
|
|||
} else {
|
||||
System.out.println("app: free build hack, skipping some dependencies")
|
||||
}
|
||||
implementation "androidx.appcompat:appcompat:1.1.0"
|
||||
implementation "androidx.preference:preference:1.1.0"
|
||||
implementation "androidx.gridlayout:gridlayout:1.0.0"
|
||||
implementation "androidx.recyclerview:recyclerview:1.1.0"
|
||||
implementation "androidx.coordinatorlayout:coordinatorlayout:1.1.0"
|
||||
implementation "androidx.media:media:1.1.0"
|
||||
|
||||
annotationProcessor 'androidx.annotation:annotation:1.1.0'
|
||||
implementation 'androidx.appcompat:appcompat:1.1.0'
|
||||
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
|
||||
implementation 'androidx.gridlayout:gridlayout:1.0.0'
|
||||
implementation 'androidx.media:media:1.1.0'
|
||||
implementation 'androidx.preference:preference:1.1.1'
|
||||
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
||||
implementation "androidx.work:work-runtime:$workManagerVersion"
|
||||
implementation "com.google.android.material:material:1.1.0"
|
||||
annotationProcessor "androidx.annotation:annotation:1.1.0"
|
||||
implementation 'com.google.android.material:material:1.1.0'
|
||||
|
||||
compileOnly "com.google.android.wearable:wearable:$wearableSupportVersion"
|
||||
implementation "org.apache.commons:commons-lang3:$commonslangVersion"
|
||||
implementation "commons-io:commons-io:$commonsioVersion"
|
||||
|
@ -165,13 +166,13 @@ dependencies {
|
|||
implementation "com.joanzapata.iconify:android-iconify-material:$iconifyVersion"
|
||||
implementation "com.yqritc:recyclerview-flexibledivider:$recyclerviewFlexibledividerVersion"
|
||||
implementation "com.github.shts:TriangleLabelView:$triangleLabelViewVersion"
|
||||
implementation 'com.leinardi.android:speed-dial:3.0.0'
|
||||
implementation 'com.leinardi.android:speed-dial:3.1.1'
|
||||
implementation "com.github.AntennaPod:AntennaPod-AudioPlayer:$audioPlayerVersion"
|
||||
implementation 'com.github.mfietz:fyydlin:v0.5.0'
|
||||
implementation 'com.github.ByteHamster:SearchPreference:v2.0.0'
|
||||
|
||||
androidTestImplementation "org.awaitility:awaitility:$awaitilityVersion"
|
||||
androidTestImplementation 'com.nanohttpd:nanohttpd-webserver:2.1.1'
|
||||
androidTestImplementation 'com.nanohttpd:nanohttpd:2.1.1'
|
||||
androidTestImplementation "com.jayway.android.robotium:robotium-solo:$robotiumSoloVersion"
|
||||
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
|
||||
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
|
||||
|
|
16
build.gradle
16
build.gradle
|
@ -6,8 +6,8 @@ buildscript {
|
|||
maven { url "https://plugins.gradle.org/m2/" }
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.5.0'
|
||||
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.5'
|
||||
classpath 'com.android.tools.build:gradle:3.6.3'
|
||||
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.6'
|
||||
classpath 'de.timfreiheit.resourceplaceholders:placeholders:0.3'
|
||||
}
|
||||
}
|
||||
|
@ -51,16 +51,16 @@ project.ext {
|
|||
awaitilityVersion = "3.1.6"
|
||||
commonsioVersion = "2.5"
|
||||
commonslangVersion = "3.6"
|
||||
eventbusVersion = "3.1.1"
|
||||
eventbusVersion = "3.2.0"
|
||||
glideVersion = "4.8.0"
|
||||
glideOkhttpIntegrationVersion = "4.8.0"
|
||||
iconifyVersion = "2.2.2"
|
||||
jsoupVersion = "1.11.2"
|
||||
okhttpVersion = "3.12.5"
|
||||
okioVersion = "1.17.4"
|
||||
okhttpVersion = "3.12.10"
|
||||
okioVersion = "1.17.5"
|
||||
recyclerviewFlexibledividerVersion = "1.4.0"
|
||||
robotiumSoloVersion = "5.6.3"
|
||||
rxAndroidVersion = "2.1.0"
|
||||
rxAndroidVersion = "2.1.1"
|
||||
rxJavaVersion = "2.2.2"
|
||||
rxJavaRulesVersion = "1.3.3.0"
|
||||
triangleLabelViewVersion = "1.1.2"
|
||||
|
@ -70,11 +70,11 @@ project.ext {
|
|||
|
||||
castCompanionLibVer = "2.9.1"
|
||||
playServicesVersion = "8.4.0"
|
||||
wearableSupportVersion = "2.4.0"
|
||||
wearableSupportVersion = "2.6.0"
|
||||
}
|
||||
|
||||
wrapper {
|
||||
gradleVersion = "4.10.2"
|
||||
gradleVersion = "6.3"
|
||||
}
|
||||
|
||||
// free build hack: common functions
|
||||
|
|
|
@ -14,7 +14,7 @@ android {
|
|||
|
||||
javaCompileOptions {
|
||||
annotationProcessorOptions {
|
||||
arguments = [ eventBusIndex : 'de.danoeh.antennapod.core.ApCoreEventBusIndex' ]
|
||||
arguments = [eventBusIndex: 'de.danoeh.antennapod.core.ApCoreEventBusIndex']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -52,15 +52,15 @@ android {
|
|||
dimension "market"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "androidx.appcompat:appcompat:1.1.0"
|
||||
implementation "androidx.preference:preference:1.1.0"
|
||||
annotationProcessor "androidx.annotation:annotation:1.1.0"
|
||||
annotationProcessor 'androidx.annotation:annotation:1.1.0'
|
||||
implementation 'androidx.appcompat:appcompat:1.1.0'
|
||||
implementation 'androidx.media:media:1.1.0'
|
||||
implementation 'androidx.preference:preference:1.1.1'
|
||||
implementation "androidx.work:work-runtime:$workManagerVersion"
|
||||
implementation "androidx.media:media:1.1.0"
|
||||
|
||||
implementation "org.apache.commons:commons-lang3:$commonslangVersion"
|
||||
implementation "commons-io:commons-io:$commonsioVersion"
|
||||
implementation "org.jsoup:jsoup:$jsoupVersion"
|
||||
|
@ -82,7 +82,7 @@ dependencies {
|
|||
// free build hack: skip some dependencies
|
||||
if (!doFreeBuild()) {
|
||||
playApi "com.google.android.libraries.cast.companionlibrary:ccl:$castCompanionLibVer"
|
||||
api "androidx.mediarouter:mediarouter:1.0.0"
|
||||
api 'androidx.mediarouter:mediarouter:1.0.0'
|
||||
playApi "com.google.android.gms:play-services-cast:$playServicesVersion"
|
||||
api "com.google.android.support:wearable:$wearableSupportVersion"
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue