nugget/buildSrc/build.gradle.kts

23 lines
610 B
Text
Raw Normal View History

2021-06-09 13:45:23 -07:00
plugins {
`kotlin-dsl`
`kotlin-dsl-precompiled-script-plugins`
}
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
implementation(libs.gradle.licenser)
2023-11-20 16:12:08 -07:00
implementation(libs.gradle.spotless)
2021-06-09 13:45:23 -07:00
implementation(libs.gradle.shadow)
implementation(libs.gradle.kotlin.dsl)
2021-09-27 00:01:00 -07:00
implementation(libs.gradle.plugin.kotlin.withVersion(embeddedKotlinVersion))
implementation(libs.gradle.plugin.publish)
2021-06-09 13:45:23 -07:00
}
fun Provider<MinimalExternalModuleDependency>.withVersion(version: String): Provider<String> {
return map { "${it.module.group}:${it.module.name}:$version" }
}