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 {
|
processResources {
|
||||||
inputs.property "version", project.version
|
inputs.property "version", project.version
|
||||||
duplicatesStrategy = 'EXCLUDE'
|
duplicatesStrategy = 'WARN'
|
||||||
|
|
||||||
from(sourceSets.main.resources.srcDirs) {
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
include "fabric.mod.json"
|
include "fabric.mod.json"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue