2021-06-09 13:45:23 -07:00
|
|
|
plugins {
|
|
|
|
`kotlin-dsl`
|
|
|
|
`kotlin-dsl-precompiled-script-plugins`
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
gradlePluginPortal()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-06-19 21:45:09 -07:00
|
|
|
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))
|
2023-02-15 12:03:05 -07:00
|
|
|
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" }
|
|
|
|
}
|