Commit b7ecd73 1 parent 3524cf2 commit b7ecd73 Copy full SHA for b7ecd73
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ testing {
221
221
}
222
222
223
223
tasks {
224
- val compileJava9Java by getting( JavaCompile :: class ) {
224
+ val compileJava9Java = named< JavaCompile >( " compileJava9Java " ) {
225
225
dependsOn(" compileKotlinJvm" )
226
226
// https://kotlinlang.org/docs/gradle-configure-project.html#configure-with-java-modules-jpms-enabled
227
227
options.compilerArgumentProviders.add(CommandLineArgumentProvider {
@@ -230,7 +230,7 @@ tasks {
230
230
options.release = 9
231
231
}
232
232
233
- val jvmJar by getting( Jar :: class ) {
233
+ named< Jar >( " jvmJar " ) {
234
234
from(compileJava9Java) {
235
235
into(" META-INF/versions/9" )
236
236
}
@@ -249,7 +249,7 @@ tasks {
249
249
}
250
250
}
251
251
252
- val compileIntegrationTestJava by getting( JavaCompile :: class ) {
252
+ named< JavaCompile >( " compileIntegrationTestJava " ) {
253
253
options.release = 9
254
254
}
255
255
You can’t perform that action at this time.
0 commit comments