aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2021-11-20 15:03:05 +0800
committershedaniel <daniel@shedaniel.me>2021-11-20 15:03:05 +0800
commitcc4dfe1b9ff290fc840090171cb1ef4a232830ff (patch)
treef5029ee6d3b36f762714d38639ccee6227e3945e /api
parent250d370a440cfb88765940af4f246ace0335820e (diff)
downloadRoughlyEnoughItems-cc4dfe1b9ff290fc840090171cb1ef4a232830ff.tar.gz
RoughlyEnoughItems-cc4dfe1b9ff290fc840090171cb1ef4a232830ff.tar.bz2
RoughlyEnoughItems-cc4dfe1b9ff290fc840090171cb1ef4a232830ff.zip
Add @REIPlugin annotation to the forge api artifact
Diffstat (limited to 'api')
-rw-r--r--api/build.gradle11
1 files changed, 11 insertions, 0 deletions
diff --git a/api/build.gradle b/api/build.gradle
index f351d1b3a..7adc4bd66 100644
--- a/api/build.gradle
+++ b/api/build.gradle
@@ -26,6 +26,17 @@ 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 ""
+ }
+ from(rootProject.file("fake/REIPlugin.class")) {
+ into "me/shedaniel/rei/forge"
+ }
+ classifier "fake-forge"
+}
+
artifacts {
apiElements(fakeJar)
runtimeElements(fakeJar)