"... is a duplicate but no duplicate handling strategy has been set"

Answered

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?

0

Please sign in to leave a comment.