diff --git a/buildSrc/src/main/kotlin/lib-android.gradle.kts b/buildSrc/src/main/kotlin/lib-android.gradle.kts index 9907ce7f0..ee9eb1c22 100644 --- a/buildSrc/src/main/kotlin/lib-android.gradle.kts +++ b/buildSrc/src/main/kotlin/lib-android.gradle.kts @@ -18,8 +18,6 @@ android { } } -// TODO: use versionCatalogs.named("libs") in Gradle 8.5 -val libs = project.extensions.getByType().named("libs") dependencies { - compileOnly(libs.findBundle("common").get()) + compileOnly(versionCatalogs.named("libs").findBundle("common").get()) } diff --git a/buildSrc/src/main/kotlin/lib-multisrc.gradle.kts b/buildSrc/src/main/kotlin/lib-multisrc.gradle.kts index 4193fd1ea..29e52f46f 100644 --- a/buildSrc/src/main/kotlin/lib-multisrc.gradle.kts +++ b/buildSrc/src/main/kotlin/lib-multisrc.gradle.kts @@ -36,10 +36,8 @@ kotlinter { ) } -// TODO: use versionCatalogs.named("libs") in Gradle 8.5 -val libs = project.extensions.getByType().named("libs") dependencies { - compileOnly(libs.findBundle("common").get()) + compileOnly(versionCatalogs.named("libs").findBundle("common").get()) } tasks {