2023-02-13 15:02:16 +00:00
|
|
|
plugins {
|
|
|
|
`kotlin-dsl`
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
|
2023-02-13 16:18:33 +00:00
|
|
|
|
2023-02-15 13:09:31 +00:00
|
|
|
implementation(plugin(libs.plugins.kotlin.jvm))
|
|
|
|
|
2023-02-13 16:18:33 +00:00
|
|
|
implementation(plugin(libs.plugins.spotless))
|
2023-02-13 15:02:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
fun plugin(provider: Provider<PluginDependency>) = with(provider.get()) {
|
|
|
|
"$pluginId:$pluginId.gradle.plugin:$version"
|
|
|
|
}
|