Wire project infrastructure
This commit is contained in:
11
build-logic/build.gradle.kts
Normal file
11
build-logic/build.gradle.kts
Normal file
@@ -0,0 +1,11 @@
|
||||
plugins {
|
||||
`kotlin-dsl`
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.plugins.kotlinMultiplatform.asDependency())
|
||||
compileOnly(libs.plugins.spotless.asDependency())
|
||||
}
|
||||
|
||||
fun Provider<PluginDependency>.asDependency(): Provider<String> =
|
||||
map { "${it.pluginId}:${it.pluginId}.gradle.plugin:${it.version.requiredVersion}" }
|
||||
Reference in New Issue
Block a user