diff options
| author | shedaniel <daniel@shedaniel.me> | 2021-11-20 15:03:05 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2021-11-20 15:03:05 +0800 |
| commit | cc4dfe1b9ff290fc840090171cb1ef4a232830ff (patch) | |
| tree | f5029ee6d3b36f762714d38639ccee6227e3945e /api | |
| parent | 250d370a440cfb88765940af4f246ace0335820e (diff) | |
| download | RoughlyEnoughItems-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.gradle | 11 |
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) |
