fix: fixed "Entry META-INF/versions/9/module-info.class is a duplicate but no duplicate handling strategy has been set."

This commit is contained in:
limited_dev 2023-01-20 23:14:35 +01:00
parent cd7b8dc228
commit 096778c0c7

View file

@ -67,6 +67,7 @@ tasks {
from({ from({
configurations.runtimeClasspath.get().filter { it.name.endsWith("jar") }.map { zipTree(it) } configurations.runtimeClasspath.get().filter { it.name.endsWith("jar") }.map { zipTree(it) }
}) })
duplicatesStrategy = DuplicatesStrategy.INCLUDE
dependsOn("generateTemplates", "processResources") dependsOn("generateTemplates", "processResources")
} }