Migrate paging to use Gradle Version Catalogs
- Ran development/versionCatalogMigrate.sh
- Manually updated imports in build.gradle files
Test: ./gradlew tasks
Change-Id: Ic8f205f723e4f01b1e103590904a89f76d1f8c10
diff --git a/paging/rxjava3/build.gradle b/paging/rxjava3/build.gradle
index 63b1a15..5b5bf91 100644
--- a/paging/rxjava3/build.gradle
+++ b/paging/rxjava3/build.gradle
@@ -14,14 +14,10 @@
* limitations under the License.
*/
-
-import androidx.build.AndroidXExtension
import androidx.build.LibraryGroups
import androidx.build.Publish
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
-import static androidx.build.dependencies.DependenciesKt.*
-
plugins {
id("AndroidXPlugin")
id("com.android.library")
@@ -31,19 +27,19 @@
dependencies {
api(project(":paging:paging-common"))
api("androidx.arch.core:core-runtime:2.1.0")
- api(RX_JAVA3)
- implementation(KOTLIN_STDLIB)
- implementation(KOTLIN_COROUTINES_RX3)
+ api(libs.rxjava3)
+ implementation(libs.kotlinStdlib)
+ implementation(libs.kotlinCoroutinesRx3)
testImplementation(project(":internal-testutils-common"))
testImplementation(project(":internal-testutils-paging"))
- testImplementation(JUNIT)
- testImplementation(KOTLIN_TEST)
- testImplementation(KOTLIN_COROUTINES_TEST)
+ testImplementation(libs.junit)
+ testImplementation(libs.kotlinTest)
+ testImplementation(libs.kotlinCoroutinesTest)
- androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
- androidTestImplementation(ANDROIDX_TEST_CORE)
- androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(libs.testExtJunit)
+ androidTestImplementation(libs.testCore)
+ androidTestImplementation(libs.testRunner)
androidTestImplementation("androidx.arch.core:core-testing:2.1.0")
}