Might fix mcmod.info having the wrong version

This commit is contained in:
modmuss50 2015-06-23 23:24:14 +01:00
parent de8d1a8a51
commit eb45fb8935

View file

@ -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'
} }
} }