Skip to content

Commit e86aea3

Browse files
committed
scoverage#171 Remove Groovy configuration from the build
1 parent 600cbb0 commit e86aea3

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

build.gradle.kts

-19
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,12 @@ pluginBundle {
4040
}
4141

4242
apply(plugin = "maven-publish")
43-
// TODO #171 remove once all groovy classes are migrated to kotlin
44-
apply(plugin = "groovy")
4543

4644
java {
4745
sourceCompatibility = JavaVersion.VERSION_1_8
4846
targetCompatibility = JavaVersion.VERSION_1_8
4947
}
5048

51-
// TODO #171 remove once all groovy classes are migrated to kotlin
52-
val compileKotlinTask = tasks.compileKotlin.get()
53-
tasks {
54-
named<GroovyCompile>("compileGroovy") {
55-
dependsOn(compileKotlin)
56-
classpath = classpath.plus(files(compileKotlinTask.destinationDirectory))
57-
}
58-
}
59-
6049
dependencies {
6150
compileOnly("org.scoverage:scalac-scoverage-plugin_2.13:1.4.2")
6251
implementation(group = "commons-io", name = "commons-io", version = "2.6")
@@ -137,13 +126,6 @@ gradlePlugin {
137126
testSourceSets(sourceSets["functionalTest"], sourceSets["crossScalaVersionTest"])
138127
}
139128

140-
// TODO #171 remove once all groovy classes are migrated to kotlin
141-
val groovydocJar by tasks.registering(Jar::class) {
142-
from("$buildDir/docs/groovydoc")
143-
archiveClassifier.set("groovydoc")
144-
dependsOn(tasks["groovydoc"])
145-
}
146-
147129
val kotlindocJar by tasks.registering(Jar::class) {
148130
from(tasks.dokkaHtml.get().outputDirectory)
149131
archiveClassifier.set("kotlindoc")
@@ -209,7 +191,6 @@ configure<PublishingExtension> {
209191
}
210192
}
211193
from(components["java"])
212-
artifact(groovydocJar)
213194
artifact(kotlindocJar)
214195
artifact(sourcesJar)
215196
}

0 commit comments

Comments
 (0)