@@ -40,23 +40,12 @@ pluginBundle {
40
40
}
41
41
42
42
apply (plugin = " maven-publish" )
43
- // TODO #171 remove once all groovy classes are migrated to kotlin
44
- apply (plugin = " groovy" )
45
43
46
44
java {
47
45
sourceCompatibility = JavaVersion .VERSION_1_8
48
46
targetCompatibility = JavaVersion .VERSION_1_8
49
47
}
50
48
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
-
60
49
dependencies {
61
50
compileOnly(" org.scoverage:scalac-scoverage-plugin_2.13:1.4.2" )
62
51
implementation(group = " commons-io" , name = " commons-io" , version = " 2.6" )
@@ -137,13 +126,6 @@ gradlePlugin {
137
126
testSourceSets(sourceSets[" functionalTest" ], sourceSets[" crossScalaVersionTest" ])
138
127
}
139
128
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
-
147
129
val kotlindocJar by tasks.registering(Jar ::class ) {
148
130
from(tasks.dokkaHtml.get().outputDirectory)
149
131
archiveClassifier.set(" kotlindoc" )
@@ -209,7 +191,6 @@ configure<PublishingExtension> {
209
191
}
210
192
}
211
193
from(components[" java" ])
212
- artifact(groovydocJar)
213
194
artifact(kotlindocJar)
214
195
artifact(sourcesJar)
215
196
}
0 commit comments