Universal jar for forge & fabric

This commit is contained in:
Ran
2022-01-18 00:43:13 +06:00
parent b158dff2c6
commit e5ef93a26d
7 changed files with 17 additions and 2 deletions
+2 -1
View File
@@ -46,4 +46,5 @@ classes/
.settings
*.launch
**/src/generated/
**/src/generated/
Merged/
+10
View File
@@ -1,8 +1,18 @@
import io.github.rancraftplayz.jarmerger.JarMergerPlugin
buildscript {
dependencies{
classpath files('plugins/DHJarMerger-1.0.jar')
}
}
plugins {
id "architectury-plugin" version "3.4-SNAPSHOT"
id "dev.architectury.loom" version "0.10.0-SNAPSHOT" apply false
}
apply plugin: JarMergerPlugin
architectury {
minecraft = rootProject.minecraft_version
}
+2
View File
@@ -138,6 +138,8 @@ shadowJar {
relocate 'org.apache.commons.compress', 'shaded.apache.commons.compress'
relocate 'com.electronwill.nightconfig', 'shaded.electronwill.nightconfig'
relocate 'com.seibel.lod.common', 'fabric.com.seibel.lod.common'
classifier "dev-shadow"
}
+1 -1
View File
@@ -33,7 +33,7 @@
},
"mixins": [
"lod.mixins.json"
"fabric.lod.mixins.json"
],
"accessWidener" : "lod.accesswidener",
+2
View File
@@ -78,6 +78,8 @@ shadowJar {
relocate 'org.apache.commons.compress', 'shaded.apache.commons.compress'
// relocate 'com.electronwill.nightconfig', 'shaded.electronwill.nightconfig'
relocate 'com.seibel.lod.common', 'forge.com.seibel.lod.common'
classifier "dev-shadow"
}
Binary file not shown.