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:
parent
9a0a00c7a4
commit
7e600c0dd8
1 changed files with 12 additions and 11 deletions
23
build.gradle
23
build.gradle
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue