Might fix mcmod.info having the wrong version
This commit is contained in:
parent
de8d1a8a51
commit
eb45fb8935
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ processResources
|
||||||
|
|
||||||
// replace stuff in mcmod.info, nothing else
|
// replace stuff in mcmod.info, nothing else
|
||||||
from(sourceSets.main.resources.srcDirs) {
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
include '*.info'
|
include 'mcmod.info'
|
||||||
include 'package-info.java'
|
include 'package-info.java'
|
||||||
|
|
||||||
// replace version and mcversion
|
// replace version and mcversion
|
||||||
|
@ -125,7 +125,7 @@ processResources
|
||||||
|
|
||||||
// copy everything else, thats not the mcmod.info
|
// copy everything else, thats not the mcmod.info
|
||||||
from(sourceSets.main.resources.srcDirs) {
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
exclude '**/*.info'
|
exclude 'mcmod.info'
|
||||||
exclude 'package-info.java'
|
exclude 'package-info.java'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue