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

22 lines
648 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))
2023-02-15 17:30:31 +00:00
implementation(plugin(libs.plugins.kotlin.android))
implementation(plugin(libs.plugins.android.application))
2023-02-16 09:08:34 +00:00
implementation(plugin(libs.plugins.android.library))
implementation(plugin(libs.plugins.spotless))
2023-02-21 16:53:01 +00:00
implementation(plugin(libs.plugins.detekt))
2023-02-24 10:01:41 +00:00
implementation(plugin(libs.plugins.dependency.check))
2023-02-13 15:02:16 +00:00
}
fun plugin(provider: Provider<PluginDependency>) = with(provider.get()) {
"$pluginId:$pluginId.gradle.plugin:$version"
}