2023-02-13 15:02:16 +00:00
|
|
|
plugins {
|
|
|
|
`kotlin-dsl`
|
2023-10-10 08:55:12 +00:00
|
|
|
`kotlin-dsl-precompiled-script-plugins`
|
2023-02-13 15:02:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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-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 10:53:47 +00:00
|
|
|
|
2024-01-16 13:30:49 +00:00
|
|
|
implementation(libs.diff.utils)
|
2024-01-16 10:53:47 +00:00
|
|
|
compileOnly(libs.android.tools.common)
|
2024-02-23 11:14:54 +00:00
|
|
|
|
|
|
|
// 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"
|
|
|
|
}
|