Fix MDK not having license texts.

This commit is contained in:
LexManos 2018-07-08 16:43:45 -07:00
parent 5624afbc32
commit da888df463

View file

@ -252,14 +252,13 @@ task makeMdk(type: Zip) {
from 'gradlew' from 'gradlew'
from 'gradlew.bat' from 'gradlew.bat'
from extraTxts
into ('gradle') { into ('gradle') {
from 'gradle' from 'gradle'
} }
into ('eclipse') { into ('eclipse') {
from 'mdk/eclipse' from 'mdk/eclipse'
} }
if (project.hasProperty('forgeJenkinsPass'))
from changelog.output
from ('mdk') { from ('mdk') {
filter(ReplaceTokens, tokens: [ filter(ReplaceTokens, tokens: [
VERSION: project.version, VERSION: project.version,
@ -267,11 +266,6 @@ task makeMdk(type: Zip) {
]) ])
exclude 'eclipse' exclude 'eclipse'
rename 'gitignore\\.txt', '.gitignore' rename 'gitignore\\.txt', '.gitignore'
from 'MinecraftForge-Credits.txt'
from 'LICENSE-new.txt'
from 'Paulscode IBXM Library License.txt'
from 'Paulscode SoundSystem CodecIBXM License.txt'
from 'CREDITS-fml.txt'
} }
} }
tasks.build.dependsOn makeMdk tasks.build.dependsOn makeMdk