diff --git a/build.gradle.kts b/build.gradle.kts index 8c826f0..d045445 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,6 +5,7 @@ plugins { id("com.bakdata.sonar") version "1.1.17" id("com.bakdata.sonatype") version "1.1.14" id("org.hildan.github.changelog") version "1.13.1" + id("org.gradle.kotlin.kotlin-dsl") version "1.4.9" apply false id("com.gradle.plugin-publish") version "1.2.1" apply false } diff --git a/sonar/build.gradle.kts b/sonar/build.gradle.kts index 1759e94..01009f9 100644 --- a/sonar/build.gradle.kts +++ b/sonar/build.gradle.kts @@ -1,13 +1,12 @@ plugins { - kotlin("jvm") version "1.4.20" + kotlin("jvm") id("org.jetbrains.dokka") version "1.9.10" } +apply(plugin = "org.gradle.kotlin.kotlin-dsl") description = "Configures sonar for multi project setups for all jvm languages" dependencies { - implementation(gradleApi()) - implementation(gradleKotlinDsl()) implementation( "org.sonarsource.scanner.gradle", "sonarqube-gradle-plugin", "4.4.1.3373") } diff --git a/sonatype/build.gradle.kts b/sonatype/build.gradle.kts index 9aed682..16c37f6 100644 --- a/sonatype/build.gradle.kts +++ b/sonatype/build.gradle.kts @@ -1,13 +1,12 @@ plugins { - kotlin("jvm") version "1.4.20" + kotlin("jvm") id("org.jetbrains.dokka") version "1.9.10" } +apply(plugin = "org.gradle.kotlin.kotlin-dsl") description = "Sets up nexusPublish and closeAndReleaseRepository tasks to push to sonatype (and later synced to central)" dependencies { - implementation(gradleApi()) - implementation(gradleKotlinDsl()) implementation("au.com.console:kassava:1.0.0") implementation("io.codearte.gradle.nexus", "gradle-nexus-staging-plugin", "0.30.0") implementation("de.marcphilipp.gradle", "nexus-publish-plugin", "0.4.0")