thunderbird-android/build-plugin/build.gradle.kts
2023-02-24 11:47:29 +01:00

21 lines
648 B
Text

plugins {
`kotlin-dsl`
}
dependencies {
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
implementation(plugin(libs.plugins.kotlin.jvm))
implementation(plugin(libs.plugins.kotlin.android))
implementation(plugin(libs.plugins.android.application))
implementation(plugin(libs.plugins.android.library))
implementation(plugin(libs.plugins.spotless))
implementation(plugin(libs.plugins.detekt))
implementation(plugin(libs.plugins.dependency.check))
}
fun plugin(provider: Provider<PluginDependency>) = with(provider.get()) {
"$pluginId:$pluginId.gradle.plugin:$version"
}