Universal jar for forge & fabric
This commit is contained in:
+2
-1
@@ -46,4 +46,5 @@ classes/
|
||||
.settings
|
||||
*.launch
|
||||
|
||||
**/src/generated/
|
||||
**/src/generated/
|
||||
Merged/
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
},
|
||||
|
||||
"mixins": [
|
||||
"lod.mixins.json"
|
||||
"fabric.lod.mixins.json"
|
||||
],
|
||||
|
||||
"accessWidener" : "lod.accesswidener",
|
||||
|
||||
@@ -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.
Reference in New Issue
Block a user