"... is a duplicate but no duplicate handling strategy has been set"
已回答
Newbie to Kotlin here, starting with the "Create your first Kotlin Application" tutorial. After creating and running the "Hello, name" script, the next step is "Package as Jar."
Upon running Tasks -> build -> jar, I get
> Entry META-INF/versions/9/module-info.class is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/7.1/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy for details.
(Running this on Windows 10, using IntelliJ IDEA 2021.2.2 (Edu))
Ideas?
请先登录再写评论。
please try with Kotlin
1.5.30-RCSee https://youtrack.jetbrains.com/issue/KT-46165