diff options
| author | shedaniel <daniel@shedaniel.me> | 2022-09-25 18:46:22 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2022-09-25 18:46:22 +0800 |
| commit | ec5840a5adadb7e1af905348aae3f11c7c439df7 (patch) | |
| tree | 4bd9e3bca3a67bfd7d28cd5c1538020dba2c73de /default-plugin | |
| parent | 53b35a385d744a5f2da0b333ea52099fb9cb9cda (diff) | |
| download | RoughlyEnoughItems-ec5840a5adadb7e1af905348aae3f11c7c439df7.tar.gz RoughlyEnoughItems-ec5840a5adadb7e1af905348aae3f11c7c439df7.tar.bz2 RoughlyEnoughItems-ec5840a5adadb7e1af905348aae3f11c7c439df7.zip | |
Fix forge api and default plugin publishing and fix #1055
Diffstat (limited to 'default-plugin')
| -rw-r--r-- | default-plugin/build.gradle | 14 |
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" } |
