aboutsummaryrefslogtreecommitdiff
path: root/default-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'default-plugin')
-rw-r--r--default-plugin/build.gradle14
1 files changed, 10 insertions, 4 deletions
diff --git a/default-plugin/build.gradle b/default-plugin/build.gradle
index 52b92ba90..c47536992 100644
--- a/default-plugin/build.gradle
+++ b/default-plugin/build.gradle
@@ -27,10 +27,16 @@ task fakeJar(type: Jar, dependsOn: remapJar) {
classifier null
}
-task fakeForgeJar(type: Jar, dependsOn: remapJar) {
- from remapJar.archiveFile.map { zipTree(it) }
- from(rootProject.file("fake/fabric.mod.json")) {
- into ""
+task fakeForgeJar(type: Jar, dependsOn: jar) {
+ from jar.archiveFile.map { zipTree(it) }
+ from(rootProject.file("fake/mods.toml")) {
+ into "META-INF"
+ }
+ ["REIPlugin", "REIPluginClient", "REIPluginCommon", "REIPluginDedicatedServer",
+ "REIPluginLoader", "REIPluginLoaderClient", "REIPluginLoaderCommon", "REIPluginLoaderDedicatedServer"].each {
+ from(rootProject.file("fake/$it.class")) {
+ into "me/shedaniel/rei/forge"
+ }
}
classifier "fake-forge"
}