duplicatesStrategy EXCLUDE will not copy the version number to the built jar

This commit is contained in:
Frank Bauer 2021-06-25 17:48:58 +02:00
parent daeca492ec
commit 1a049d05c4

View file

@ -65,7 +65,7 @@ def useApi(String dep) {
processResources {
inputs.property "version", project.version
duplicatesStrategy = 'EXCLUDE'
duplicatesStrategy = 'WARN'
from(sourceSets.main.resources.srcDirs) {
include "fabric.mod.json"