fabric-1.17: backport processResources fixes
This commit is contained in:
parent
521fc102b7
commit
2dbd5d94c7
1 changed files with 1 additions and 10 deletions
|
|
@ -33,7 +33,6 @@ dependencies {
|
||||||
|
|
||||||
compileOnly group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2'
|
compileOnly group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2'
|
||||||
|
|
||||||
shadow project(path: ':DynmapCoreAPI', configuration: 'shadow')
|
|
||||||
shadow project(path: ':DynmapCore', configuration: 'shadow')
|
shadow project(path: ':DynmapCore', configuration: 'shadow')
|
||||||
|
|
||||||
// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
|
// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
|
||||||
|
|
@ -41,17 +40,9 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
processResources {
|
||||||
inputs.property "version", project.version
|
filesMatching('fabric.mod.json') {
|
||||||
duplicatesStrategy = 'include'
|
|
||||||
|
|
||||||
from(sourceSets.main.resources.srcDirs) {
|
|
||||||
include "fabric.mod.json"
|
|
||||||
expand "version": project.version
|
expand "version": project.version
|
||||||
}
|
}
|
||||||
|
|
||||||
from(sourceSets.main.resources.srcDirs) {
|
|
||||||
exclude "fabric.mod.json"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ensure that the encoding is set to UTF-8, no matter what the system default is
|
// ensure that the encoding is set to UTF-8, no matter what the system default is
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue