thunderbird-android/build-plugin/build.gradle.kts

16 lines
367 B
Text
Raw Normal View History

2023-02-13 15:02:16 +00:00
plugins {
`kotlin-dsl`
}
dependencies {
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
implementation(plugin(libs.plugins.kotlin.jvm))
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"
}