Use `versionCatalogs` in precompiled script plugins
This commit is contained in:
parent
008fc27cf9
commit
33f95f820c
|
@ -18,8 +18,6 @@ android {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: use versionCatalogs.named("libs") in Gradle 8.5
|
|
||||||
val libs = project.extensions.getByType<VersionCatalogsExtension>().named("libs")
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly(libs.findBundle("common").get())
|
compileOnly(versionCatalogs.named("libs").findBundle("common").get())
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,10 +36,8 @@ kotlinter {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: use versionCatalogs.named("libs") in Gradle 8.5
|
|
||||||
val libs = project.extensions.getByType<VersionCatalogsExtension>().named("libs")
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly(libs.findBundle("common").get())
|
compileOnly(versionCatalogs.named("libs").findBundle("common").get())
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
|
|
Loading…
Reference in New Issue