mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-02-01 19:26:46 +01:00
Clean up version locations and order
This commit is contained in:
parent
6d9b4310a9
commit
4478447bec
@ -10,17 +10,19 @@ android {
|
|||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion rootProject.ext.minSdkVersion
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
multiDexEnabled false
|
|
||||||
vectorDrawables.useSupportLibrary true
|
|
||||||
// Version code schema:
|
// Version code schema:
|
||||||
// "1.2.3-SNAPSHOT" -> 1020300
|
// "1.2.3-SNAPSHOT" -> 1020300
|
||||||
// "1.2.3-RC4" -> 1020304
|
// "1.2.3-RC4" -> 1020304
|
||||||
// "1.2.3" -> 1020395
|
// "1.2.3" -> 1020395
|
||||||
versionCode 2000002
|
versionCode 2000002
|
||||||
versionName "2.0.0-alpha2"
|
versionName "2.0.0-alpha2"
|
||||||
|
|
||||||
|
multiDexEnabled false
|
||||||
|
vectorDrawables.useSupportLibrary true
|
||||||
|
vectorDrawables.generatedDensities = []
|
||||||
|
|
||||||
testApplicationId "de.test.antennapod"
|
testApplicationId "de.test.antennapod"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables.generatedDensities = []
|
|
||||||
|
|
||||||
def commit = "Unknown commit"
|
def commit = "Unknown commit"
|
||||||
try {
|
try {
|
||||||
@ -62,16 +64,14 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
def STRING = "String"
|
|
||||||
|
|
||||||
debug {
|
debug {
|
||||||
applicationIdSuffix ".debug"
|
applicationIdSuffix ".debug"
|
||||||
resValue "string", "provider_authority", "de.danoeh.antennapod.debug.provider"
|
resValue "string", "provider_authority", "de.danoeh.antennapod.debug.provider"
|
||||||
|
|
||||||
// debug build has method count over 64k single-dex threshold.
|
// debug build has method count over 64k single-dex threshold.
|
||||||
// For building debug build to use on Android < 21 (pre-Android 5) devices,
|
// For building debug build to use on Android < 21 (pre-Android 5) devices,
|
||||||
// you need to manually change class
|
// you need to manually change class
|
||||||
// de.danoeh.antennapod.PodcastApp to extend MultiDexApplication .
|
// de.danoeh.antennapod.PodcastApp to extend MultiDexApplication .
|
||||||
// See Issue #2813
|
// See Issue #2813
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
|
|
||||||
@ -138,18 +138,17 @@ dependencies {
|
|||||||
System.out.println("app: free build hack, skipping some dependencies")
|
System.out.println("app: free build hack, skipping some dependencies")
|
||||||
}
|
}
|
||||||
|
|
||||||
annotationProcessor 'androidx.annotation:annotation:1.1.0'
|
annotationProcessor "androidx.annotation:annotation:$annotationVersion"
|
||||||
implementation 'androidx.appcompat:appcompat:1.1.0'
|
implementation "androidx.appcompat:appcompat:$appcompatVersion"
|
||||||
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
|
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
|
||||||
implementation 'androidx.gridlayout:gridlayout:1.0.0'
|
implementation 'androidx.gridlayout:gridlayout:1.0.0'
|
||||||
implementation 'androidx.media:media:1.1.0'
|
implementation "androidx.media:media:$mediaVersion"
|
||||||
implementation 'androidx.preference:preference:1.1.1'
|
implementation "androidx.preference:preference:$preferenceVersion"
|
||||||
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
||||||
implementation 'androidx.viewpager2:viewpager2:1.0.0'
|
implementation 'androidx.viewpager2:viewpager2:1.0.0'
|
||||||
implementation "androidx.work:work-runtime:$workManagerVersion"
|
implementation "androidx.work:work-runtime:$workManagerVersion"
|
||||||
implementation 'com.google.android.material:material:1.1.0'
|
implementation "com.google.android.material:material:$googleMaterialVersion"
|
||||||
|
|
||||||
compileOnly "com.google.android.wearable:wearable:$wearableSupportVersion"
|
|
||||||
implementation "org.apache.commons:commons-lang3:$commonslangVersion"
|
implementation "org.apache.commons:commons-lang3:$commonslangVersion"
|
||||||
implementation "commons-io:commons-io:$commonsioVersion"
|
implementation "commons-io:commons-io:$commonsioVersion"
|
||||||
implementation "org.jsoup:jsoup:$jsoupVersion"
|
implementation "org.jsoup:jsoup:$jsoupVersion"
|
||||||
@ -165,13 +164,15 @@ dependencies {
|
|||||||
|
|
||||||
implementation "com.joanzapata.iconify:android-iconify-fontawesome:$iconifyVersion"
|
implementation "com.joanzapata.iconify:android-iconify-fontawesome:$iconifyVersion"
|
||||||
implementation "com.joanzapata.iconify:android-iconify-material:$iconifyVersion"
|
implementation "com.joanzapata.iconify:android-iconify-material:$iconifyVersion"
|
||||||
implementation "com.yqritc:recyclerview-flexibledivider:$recyclerviewFlexibledividerVersion"
|
implementation 'com.yqritc:recyclerview-flexibledivider:1.4.0'
|
||||||
implementation "com.github.shts:TriangleLabelView:$triangleLabelViewVersion"
|
implementation 'com.github.shts:TriangleLabelView:1.1.2'
|
||||||
implementation 'com.leinardi.android:speed-dial:3.1.1'
|
implementation 'com.leinardi.android:speed-dial:3.1.1'
|
||||||
implementation "com.github.AntennaPod:AntennaPod-AudioPlayer:$audioPlayerVersion"
|
implementation "com.github.AntennaPod:AntennaPod-AudioPlayer:$audioPlayerVersion"
|
||||||
implementation 'com.github.mfietz:fyydlin:v0.5.0'
|
implementation 'com.github.mfietz:fyydlin:v0.5.0'
|
||||||
implementation 'com.github.ByteHamster:SearchPreference:v2.0.0'
|
implementation 'com.github.ByteHamster:SearchPreference:v2.0.0'
|
||||||
implementation "com.github.skydoves:balloon:1.1.5"
|
implementation 'com.github.skydoves:balloon:1.1.5'
|
||||||
|
|
||||||
|
compileOnly "com.google.android.wearable:wearable:$wearableSupportVersion"
|
||||||
|
|
||||||
androidTestImplementation "org.awaitility:awaitility:$awaitilityVersion"
|
androidTestImplementation "org.awaitility:awaitility:$awaitilityVersion"
|
||||||
androidTestImplementation 'com.nanohttpd:nanohttpd:2.1.1'
|
androidTestImplementation 'com.nanohttpd:nanohttpd:2.1.1'
|
||||||
@ -179,8 +180,8 @@ dependencies {
|
|||||||
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
|
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
|
||||||
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
|
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
|
||||||
androidTestImplementation "androidx.test.espresso:espresso-intents:$espressoVersion"
|
androidTestImplementation "androidx.test.espresso:espresso-intents:$espressoVersion"
|
||||||
androidTestImplementation 'androidx.test:runner:1.2.0'
|
androidTestImplementation "androidx.test:runner:$runnerVersion"
|
||||||
androidTestImplementation 'androidx.test:rules:1.2.0'
|
androidTestImplementation "androidx.test:rules:$rulesVersion"
|
||||||
}
|
}
|
||||||
|
|
||||||
if (project.hasProperty("antennaPodPlayPublisherCredentials")) {
|
if (project.hasProperty("antennaPodPlayPublisherCredentials")) {
|
||||||
|
35
build.gradle
35
build.gradle
@ -46,31 +46,36 @@ project.ext {
|
|||||||
minSdkVersion = 16
|
minSdkVersion = 16
|
||||||
targetSdkVersion = 28
|
targetSdkVersion = 28
|
||||||
|
|
||||||
|
// AndroidX
|
||||||
|
annotationVersion = "1.1.0"
|
||||||
|
appcompatVersion = "1.1.0"
|
||||||
|
mediaVersion = "1.1.0"
|
||||||
|
preferenceVersion = "1.1.1"
|
||||||
workManagerVersion = "2.3.4"
|
workManagerVersion = "2.3.4"
|
||||||
espressoVersion = "3.2.0"
|
googleMaterialVersion = "1.1.0"
|
||||||
awaitilityVersion = "3.1.6"
|
|
||||||
commonsioVersion = "2.5"
|
// Third-party
|
||||||
commonslangVersion = "3.6"
|
commonslangVersion = "3.6"
|
||||||
eventbusVersion = "3.2.0"
|
commonsioVersion = "2.5"
|
||||||
glideVersion = "4.8.0"
|
|
||||||
glideOkhttpIntegrationVersion = "4.8.0"
|
|
||||||
iconifyVersion = "2.2.2"
|
|
||||||
jsoupVersion = "1.11.2"
|
jsoupVersion = "1.11.2"
|
||||||
|
glideVersion = "4.8.0"
|
||||||
okhttpVersion = "3.12.10"
|
okhttpVersion = "3.12.10"
|
||||||
okioVersion = "1.17.5"
|
okioVersion = "1.17.5"
|
||||||
recyclerviewFlexibledividerVersion = "1.4.0"
|
eventbusVersion = "3.2.0"
|
||||||
robotiumSoloVersion = "5.6.3"
|
|
||||||
rxAndroidVersion = "2.1.1"
|
rxAndroidVersion = "2.1.1"
|
||||||
rxJavaVersion = "2.2.2"
|
rxJavaVersion = "2.2.2"
|
||||||
rxJavaRulesVersion = "1.3.3.0"
|
iconifyVersion = "2.2.2"
|
||||||
triangleLabelViewVersion = "1.1.2"
|
|
||||||
|
|
||||||
exoPlayerVersion = "2.10.8"
|
|
||||||
audioPlayerVersion = "v1.0.17"
|
audioPlayerVersion = "v1.0.17"
|
||||||
|
|
||||||
castCompanionLibVer = "2.9.1"
|
// Google Play build
|
||||||
playServicesVersion = "8.4.0"
|
|
||||||
wearableSupportVersion = "2.6.0"
|
wearableSupportVersion = "2.6.0"
|
||||||
|
|
||||||
|
//Tests
|
||||||
|
awaitilityVersion = "3.1.6"
|
||||||
|
robotiumSoloVersion = "5.6.3"
|
||||||
|
espressoVersion = "3.2.0"
|
||||||
|
runnerVersion = "1.2.0"
|
||||||
|
rulesVersion = "1.2.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
wrapper {
|
wrapper {
|
||||||
|
@ -6,9 +6,9 @@ android {
|
|||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion rootProject.ext.minSdkVersion
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
|
|
||||||
multiDexEnabled false
|
multiDexEnabled false
|
||||||
versionCode 1
|
|
||||||
versionName "1.0"
|
|
||||||
testApplicationId "de.danoeh.antennapod.core.tests"
|
testApplicationId "de.danoeh.antennapod.core.tests"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
|
||||||
@ -55,19 +55,19 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
annotationProcessor 'androidx.annotation:annotation:1.1.0'
|
annotationProcessor "androidx.annotation:annotation:$annotationVersion"
|
||||||
implementation 'androidx.appcompat:appcompat:1.1.0'
|
implementation "androidx.appcompat:appcompat:$appcompatVersion"
|
||||||
implementation 'androidx.media:media:1.1.0'
|
implementation "androidx.media:media:$mediaVersion"
|
||||||
implementation 'androidx.preference:preference:1.1.1'
|
implementation "androidx.preference:preference:$preferenceVersion"
|
||||||
implementation "androidx.work:work-runtime:$workManagerVersion"
|
implementation "androidx.work:work-runtime:$workManagerVersion"
|
||||||
implementation 'com.google.android.material:material:1.1.0'
|
implementation "com.google.android.material:material:$googleMaterialVersion"
|
||||||
|
|
||||||
implementation "org.apache.commons:commons-lang3:$commonslangVersion"
|
implementation "org.apache.commons:commons-lang3:$commonslangVersion"
|
||||||
implementation "commons-io:commons-io:$commonsioVersion"
|
implementation "commons-io:commons-io:$commonsioVersion"
|
||||||
implementation "org.jsoup:jsoup:$jsoupVersion"
|
implementation "org.jsoup:jsoup:$jsoupVersion"
|
||||||
implementation "com.github.bumptech.glide:glide:$glideVersion"
|
implementation "com.github.bumptech.glide:glide:$glideVersion"
|
||||||
annotationProcessor "com.github.bumptech.glide:compiler:$glideVersion"
|
annotationProcessor "com.github.bumptech.glide:compiler:$glideVersion"
|
||||||
implementation "com.github.bumptech.glide:okhttp3-integration:$glideOkhttpIntegrationVersion@aar"
|
implementation "com.github.bumptech.glide:okhttp3-integration:$glideVersion@aar"
|
||||||
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion"
|
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion"
|
||||||
implementation "com.squareup.okhttp3:okhttp-urlconnection:$okhttpVersion"
|
implementation "com.squareup.okhttp3:okhttp-urlconnection:$okhttpVersion"
|
||||||
implementation "com.squareup.okio:okio:$okioVersion"
|
implementation "com.squareup.okio:okio:$okioVersion"
|
||||||
@ -76,15 +76,15 @@ dependencies {
|
|||||||
implementation "io.reactivex.rxjava2:rxandroid:$rxAndroidVersion"
|
implementation "io.reactivex.rxjava2:rxandroid:$rxAndroidVersion"
|
||||||
implementation "io.reactivex.rxjava2:rxjava:$rxJavaVersion"
|
implementation "io.reactivex.rxjava2:rxjava:$rxJavaVersion"
|
||||||
|
|
||||||
implementation "com.google.android.exoplayer:exoplayer:$exoPlayerVersion"
|
implementation 'com.google.android.exoplayer:exoplayer:2.10.8'
|
||||||
implementation "com.github.AntennaPod:AntennaPod-AudioPlayer:$audioPlayerVersion"
|
implementation "com.github.AntennaPod:AntennaPod-AudioPlayer:$audioPlayerVersion"
|
||||||
|
|
||||||
// Add casting features
|
// Add casting features
|
||||||
// free build hack: skip some dependencies
|
// free build hack: skip some dependencies
|
||||||
if (!doFreeBuild()) {
|
if (!doFreeBuild()) {
|
||||||
playApi "com.google.android.libraries.cast.companionlibrary:ccl:$castCompanionLibVer"
|
playApi 'com.google.android.libraries.cast.companionlibrary:ccl:2.9.1'
|
||||||
api 'androidx.mediarouter:mediarouter:1.0.0'
|
api 'androidx.mediarouter:mediarouter:1.0.0'
|
||||||
playApi "com.google.android.gms:play-services-cast:$playServicesVersion"
|
playApi 'com.google.android.gms:play-services-cast:8.4.0'
|
||||||
api "com.google.android.support:wearable:$wearableSupportVersion"
|
api "com.google.android.support:wearable:$wearableSupportVersion"
|
||||||
compileOnly "com.google.android.wearable:wearable:$wearableSupportVersion"
|
compileOnly "com.google.android.wearable:wearable:$wearableSupportVersion"
|
||||||
} else {
|
} else {
|
||||||
@ -96,8 +96,8 @@ dependencies {
|
|||||||
testImplementation 'org.mockito:mockito-core:1.10.19'
|
testImplementation 'org.mockito:mockito-core:1.10.19'
|
||||||
androidTestImplementation "com.jayway.android.robotium:robotium-solo:$robotiumSoloVersion"
|
androidTestImplementation "com.jayway.android.robotium:robotium-solo:$robotiumSoloVersion"
|
||||||
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
|
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
|
||||||
androidTestImplementation 'androidx.test:runner:1.2.0'
|
androidTestImplementation "androidx.test:runner:$runnerVersion"
|
||||||
androidTestImplementation 'androidx.test:rules:1.2.0'
|
androidTestImplementation "androidx.test:rules:$rulesVersion"
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(Test) {
|
tasks.withType(Test) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user