Fix packaging the gradle wrapper properly. There is still a problem with

the MDK- it fails to run setupDecompWorkspace.

Filed an issue at ForgeGradle, since this seems to be something FG2 shouldn't
be doing, but is?

https://github.com/MinecraftForge/ForgeGradle/issues/235
This commit is contained in:
cpw 2015-08-15 10:16:00 -07:00
parent 9a0a00c7a4
commit 7e600c0dd8

View file

@ -171,18 +171,19 @@ task makeMdk(type: Zip) {
into ('gradle') { into ('gradle') {
from 'gradle' from 'gradle'
} }
from 'mdk'
filter(ReplaceTokens, tokens: [
VERSION: project.version,
MAPPINGS: minecraft.mappings.replace('nodoc_', '')
])
rename 'gitignore\\.txt', '.gitignore'
from 'MinecraftForge-Credits.txt'
from 'MinecraftForge-License.txt'
from 'Paulscode IBXM Library License.txt'
from 'Paulscode SoundSystem CodecIBXM License.txt'
from 'LICENSE-fml.txt'
from changelog.output from changelog.output
from ('mdk') {
filter(ReplaceTokens, tokens: [
VERSION: project.version,
MAPPINGS: minecraft.mappings.replace('nodoc_', '')
])
rename 'gitignore\\.txt', '.gitignore'
from 'MinecraftForge-Credits.txt'
from 'MinecraftForge-License.txt'
from 'Paulscode IBXM Library License.txt'
from 'Paulscode SoundSystem CodecIBXM License.txt'
from 'LICENSE-fml.txt'
}
} }
tasks.build.dependsOn makeMdk tasks.build.dependsOn makeMdk