diff --git a/build.gradle.kts b/build.gradle.kts index c063106..3d11830 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -40,23 +40,12 @@ pluginBundle { } apply(plugin = "maven-publish") -// TODO #171 remove once all groovy classes are migrated to kotlin -apply(plugin = "groovy") java { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } -// TODO #171 remove once all groovy classes are migrated to kotlin -val compileKotlinTask = tasks.compileKotlin.get() -tasks { - named("compileGroovy") { - dependsOn(compileKotlin) - classpath = classpath.plus(files(compileKotlinTask.destinationDirectory)) - } -} - dependencies { compileOnly("org.scoverage:scalac-scoverage-plugin_2.13:1.4.2") implementation(group = "commons-io", name = "commons-io", version = "2.6") @@ -137,13 +126,6 @@ gradlePlugin { testSourceSets(sourceSets["functionalTest"], sourceSets["crossScalaVersionTest"]) } -// TODO #171 remove once all groovy classes are migrated to kotlin -val groovydocJar by tasks.registering(Jar::class) { - from("$buildDir/docs/groovydoc") - archiveClassifier.set("groovydoc") - dependsOn(tasks["groovydoc"]) -} - val kotlindocJar by tasks.registering(Jar::class) { from(tasks.dokkaHtml.get().outputDirectory) archiveClassifier.set("kotlindoc") @@ -209,7 +191,6 @@ configure { } } from(components["java"]) - artifact(groovydocJar) artifact(kotlindocJar) artifact(sourcesJar) }