Use versionCatalogs in precompiled script plugins

This commit is contained in:
stevenyomi 2024-03-02 22:17:33 +00:00
parent 3a779a3251
commit a748d6ab01
2 changed files with 2 additions and 6 deletions

View File

@ -18,8 +18,6 @@ android {
}
}
// TODO: use versionCatalogs.named("libs") in Gradle 8.5
val libs = project.extensions.getByType<VersionCatalogsExtension>().named("libs")
dependencies {
compileOnly(libs.findBundle("common").get())
compileOnly(versionCatalogs.named("libs").findBundle("common").get())
}

View File

@ -36,10 +36,8 @@ kotlinter {
)
}
// TODO: use versionCatalogs.named("libs") in Gradle 8.5
val libs = project.extensions.getByType<VersionCatalogsExtension>().named("libs")
dependencies {
compileOnly(libs.findBundle("common").get())
compileOnly(versionCatalogs.named("libs").findBundle("common").get())
}
tasks {