Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 20435

Tons of `Copying or archiving duplicate paths with the default duplicates strategy has been deprecated. This is scheduled to be removed in Gradle 7.0.`

$
0
0

I think it is caused by compileKotlin { destinationDir = compileJava.destinationDir }.

Try removing it and add "--patch-module", "$moduleName=${sourceSets["main"].output.asPath}" to the compilerArgs for compileJava instead.

I haven’t worked with JPMS and Kotlin yet myself, so I am not sure what the “right” way of going about it is.


Viewing all articles
Browse latest Browse all 20435

Latest Images

Trending Articles



Latest Images