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

30 lines
974 B
Text
Raw Normal View History

2023-02-13 15:02:16 +00:00
plugins {
`kotlin-dsl`
`kotlin-dsl-precompiled-script-plugins`
2023-02-13 15:02:16 +00:00
}
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))
2024-01-16 13:30:49 +00:00
implementation(libs.diff.utils)
compileOnly(libs.android.tools.common)
// This defines the used Kotlin version for all Plugin dependencies
// and ensures that transitive dependencies are aligned on one version.
implementation(platform(libs.kotlin.gradle.bom))
2023-02-13 15:02:16 +00:00
}
fun plugin(provider: Provider<PluginDependency>) = with(provider.get()) {
"$pluginId:$pluginId.gradle.plugin:$version"
}