duplicatesStrategy EXCLUDE
will not copy the version number to the built jar
This commit is contained in:
parent
daeca492ec
commit
1a049d05c4
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue