Skip to content

Commit

Permalink
Fix buildscript not including the new "data" folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexIIL committed Dec 1, 2018
1 parent ebbc62d commit f3f6775
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ task libJar(type: Jar, dependsOn: [reobfJar, writeModInfos]) {

from(createMCModInfo("lib").parentFile)
from(project.ext.jarFile) {
includes.addAll(["assets/buildcraft/**", "assets/buildcraftlib/**", "buildcraft/lib/**", "buildcraft/api/**", "changelog/**", "LICENSE**", "versions.txt"])
includes.addAll(["assets/buildcraft/**", "assets/buildcraftlib/**", "data/buildcraftlib/**", "buildcraft/lib/**", "buildcraft/api/**", "changelog/**", "LICENSE**", "versions.txt"])
}
}

Expand All @@ -360,7 +360,7 @@ task coreJar(type: Jar, dependsOn: [reobfJar, writeModInfos]) {

from(createMCModInfo("core").parentFile)
from(project.ext.jarFile) {
includes.addAll(["assets/buildcraft/**", "assets/buildcraftlib/**", "assets/buildcraftcore/**", "buildcraft/lib/**", "buildcraft/core/**", "buildcraft/api/**", "changelog/**", "LICENSE**", "versions.txt"])
includes.addAll(["assets/buildcraft/**", "assets/buildcraftlib/**", "data/buildcraftlib/**", "assets/buildcraftcore/**", "data/buildcraftcore/**", "buildcraft/lib/**", "buildcraft/core/**", "buildcraft/api/**", "changelog/**", "LICENSE**", "versions.txt"])
}
}

Expand All @@ -371,7 +371,7 @@ for (String module : ["builders", "energy", "factory", "silicon", "transport", "

from(createMCModInfo(module).parentFile)
from(project.ext.jarFile) {
includes.addAll(["assets/buildcraft$module/**", "buildcraft/$module/**", "LICENSE"])
includes.addAll(["assets/buildcraft$module/**", "data/buildcraft$module/**", "buildcraft/$module/**", "LICENSE"])
}
}
}
Expand Down

0 comments on commit f3f6775

Please sign in to comment.