25 lines
772 B
Text
25 lines
772 B
Text
plugins {
|
|
`kotlin-dsl`
|
|
`kotlin-dsl-precompiled-script-plugins`
|
|
}
|
|
|
|
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))
|
|
|
|
implementation(libs.diff.utils)
|
|
compileOnly(libs.android.tools.common)
|
|
}
|
|
|
|
fun plugin(provider: Provider<PluginDependency>) = with(provider.get()) {
|
|
"$pluginId:$pluginId.gradle.plugin:$version"
|
|
}
|