mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2026-08-18 11:05:49 +00:00
Migrate Gradle dependencies to version catalogs (#8443)
### Description Migrate Gradle dependencies to version catalogs. This is the modern style of managing dependencies. Confirmed with diff on `./gradlew :app:dependencies` that no versions changed. ### Checklist <!-- To help us keep the issue tracker clean and work as efficient as possible, please make sure that you have done all of the following. You can tick the boxes below by placing an x inside the brackets like this: [x] --> - [x] I have read the contribution guidelines: https://github.com/AntennaPod/AntennaPod/blob/develop/CONTRIBUTING.md#submit-a-pull-request - [x] I have performed a self-review of my code, going through my changes line by line and carefully considering why this line change is necessary - [x] I have run the automated code checks using `./gradlew checkstyle lint` - [x] My code follows the style guidelines of the AntennaPod project: https://antennapod.org/contribute/develop/app/code-style - [x] I have mentioned the corresponding issue and the relevant keyword (e.g., "Closes: #xy") in the description (see https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) - [x] If it is a core feature, I have added automated tests
This commit is contained in:
committed by
GitHub
parent
6d19562b11
commit
3a7f18a7fa
@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id("com.android.library")
|
||||
alias(libs.plugins.android.library)
|
||||
}
|
||||
apply from: "../../common.gradle"
|
||||
apply from: "../../playFlavor.gradle"
|
||||
@ -12,8 +12,8 @@ dependencies {
|
||||
implementation project(':storage:database')
|
||||
implementation project(':ui:notifications')
|
||||
|
||||
annotationProcessor "androidx.annotation:annotation:$annotationVersion"
|
||||
implementation "androidx.core:core:$coreVersion"
|
||||
implementation "androidx.work:work-runtime:$workManagerVersion"
|
||||
implementation "com.google.guava:guava:31.0.1-android"
|
||||
annotationProcessor libs.androidx.annotation
|
||||
implementation libs.androidx.core
|
||||
implementation libs.androidx.work.runtime
|
||||
implementation libs.guava
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id("com.android.library")
|
||||
alias(libs.plugins.android.library)
|
||||
}
|
||||
apply from: "../../common.gradle"
|
||||
apply from: "../../playFlavor.gradle"
|
||||
@ -21,17 +21,17 @@ dependencies {
|
||||
implementation project(':system')
|
||||
implementation project(':ui:app-start-intent')
|
||||
|
||||
annotationProcessor "androidx.annotation:annotation:$annotationVersion"
|
||||
implementation "androidx.core:core:$coreVersion"
|
||||
implementation 'androidx.documentfile:documentfile:1.0.1'
|
||||
annotationProcessor libs.androidx.annotation
|
||||
implementation libs.androidx.core
|
||||
implementation libs.androidx.documentfile
|
||||
|
||||
implementation "commons-io:commons-io:$commonsioVersion"
|
||||
implementation "org.greenrobot:eventbus:$eventbusVersion"
|
||||
implementation "com.google.guava:guava:31.0.1-android"
|
||||
implementation "org.apache.commons:commons-lang3:$commonslangVersion"
|
||||
implementation libs.commons.io
|
||||
implementation libs.eventbus
|
||||
implementation libs.guava
|
||||
implementation libs.commons.lang3
|
||||
|
||||
testImplementation project(':parser:feed')
|
||||
testImplementation "junit:junit:$junitVersion"
|
||||
testImplementation "androidx.test:core:$testCoreVersion"
|
||||
testImplementation "org.robolectric:robolectric:$robolectricVersion"
|
||||
testImplementation libs.junit
|
||||
testImplementation libs.androidx.test.core
|
||||
testImplementation libs.robolectric
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id("com.android.library")
|
||||
alias(libs.plugins.android.library)
|
||||
}
|
||||
apply from: "../../common.gradle"
|
||||
apply from: "../../playFlavor.gradle"
|
||||
@ -17,18 +17,18 @@ dependencies {
|
||||
implementation project(':model')
|
||||
implementation project(':net:download:service-interface')
|
||||
|
||||
annotationProcessor "androidx.annotation:annotation:$annotationVersion"
|
||||
implementation "androidx.core:core:$coreVersion"
|
||||
implementation 'androidx.documentfile:documentfile:1.0.1'
|
||||
implementation "androidx.work:work-runtime:$workManagerVersion"
|
||||
annotationProcessor libs.androidx.annotation
|
||||
implementation libs.androidx.core
|
||||
implementation libs.androidx.documentfile
|
||||
implementation libs.androidx.work.runtime
|
||||
|
||||
implementation "commons-io:commons-io:$commonsioVersion"
|
||||
implementation "io.reactivex.rxjava3:rxandroid:$rxAndroidVersion"
|
||||
implementation "io.reactivex.rxjava3:rxjava:$rxJavaVersion"
|
||||
implementation "org.greenrobot:eventbus:$eventbusVersion"
|
||||
implementation "com.google.guava:guava:31.0.1-android"
|
||||
implementation libs.commons.io
|
||||
implementation libs.rxandroid
|
||||
implementation libs.rxjava
|
||||
implementation libs.eventbus
|
||||
implementation libs.guava
|
||||
|
||||
testImplementation "junit:junit:$junitVersion"
|
||||
testImplementation "androidx.test:core:$testCoreVersion"
|
||||
testImplementation "org.robolectric:robolectric:$robolectricVersion"
|
||||
testImplementation libs.junit
|
||||
testImplementation libs.androidx.test.core
|
||||
testImplementation libs.robolectric
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id("com.android.library")
|
||||
alias(libs.plugins.android.library)
|
||||
}
|
||||
apply from: "../../common.gradle"
|
||||
|
||||
@ -14,7 +14,7 @@ android {
|
||||
dependencies {
|
||||
implementation project(':model')
|
||||
|
||||
annotationProcessor "androidx.annotation:annotation:$annotationVersion"
|
||||
implementation "androidx.fragment:fragment:$fragmentVersion"
|
||||
implementation "androidx.preference:preference:$preferenceVersion"
|
||||
annotationProcessor libs.androidx.annotation
|
||||
implementation libs.androidx.fragment
|
||||
implementation libs.androidx.preference
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user