aboutsummaryrefslogtreecommitdiff
path: root/loader/build.gradle
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-01-01 01:43:21 +0900
committersyeyoung <cyoung06@naver.com>2023-01-01 12:42:16 +0900
commitd3f5b4df809fd03919952285a1906652097f00e6 (patch)
tree6ace5531214fb40b0080666f8bd2b291d8e3bb1c /loader/build.gradle
parentde408dbc39b9f07cbbe4d0f2372333226b418903 (diff)
downloadSkyblock-Dungeons-Guide-d3f5b4df809fd03919952285a1906652097f00e6.tar.gz
Skyblock-Dungeons-Guide-d3f5b4df809fd03919952285a1906652097f00e6.tar.bz2
Skyblock-Dungeons-Guide-d3f5b4df809fd03919952285a1906652097f00e6.zip
- tweaker prevents mod from running ??? Why!!!
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'loader/build.gradle')
-rw-r--r--loader/build.gradle13
1 files changed, 8 insertions, 5 deletions
diff --git a/loader/build.gradle b/loader/build.gradle
index c4b0f4f8..a163444b 100644
--- a/loader/build.gradle
+++ b/loader/build.gradle
@@ -21,7 +21,6 @@ loom {
// probably will have to my own mixin tweaker, due to dungeonsguide's weird dynamic loading stuff
// property("mixin.debug", "true")
// property("asmhelper.verbose", "true")
- arg("--tweakClass", "kr.syeyoung.dungeonsguide.launcher.coremod.DGTweaker")
// arg("--mixin", "mixins.examplemod.json")
}
@@ -35,8 +34,9 @@ loom {
runs {
client {
- runDir = 'runtime'
+ runDir = '../runtime'
property('devauth.enabled','true')
+ property("fml.coreMods.load", "kr.syeyoung.dungeonsguide.launcher.coremod.DGTweaker")
client()
vmArgs.remove("-XstartOnFirstThread")
}
@@ -94,8 +94,9 @@ tasks.withType(Jar) {
archivesBaseName = "dungeonsguide-loader"
manifest {
attributes["FMLCorePluginContainsFMLMod"] = "true"
- attributes["ForceLoadAsMod"] = "true"
- attributes["TweakClass"] = "kr.syeyoung.dungeonsguide.launcher.coremod.DGTweaker"
+ attributes["FMLCorePlugin"] = 'kr.syeyoung.dungeonsguide.launcher.coremod.DGTweaker'
+// attributes["ForceLoadAsMod"] = "true" not applicable, not using mixins
+// attributes["TweakClass"] = "kr.syeyoung.dungeonsguide.launcher.coremod.DGTweaker"
// If you don't want mixins, remove these lines
// this["TweakClass"] = "org.spongepowered.asm.launch.MixinTweaker"
@@ -106,10 +107,12 @@ tasks.withType(Jar) {
tasks.shadowJar {
archiveFileName = jar.archiveFileName
-
+ exclude "META-INF/versions/**"
dependencies {
include(dependency("org.slf4j:slf4j-api:1.7.25"))
include(dependency("org.json:json:20171018"))
+ include(dependency("org.bouncycastle:bcpg-jdk15on:1.70"))
+ include(dependency("org.bouncycastle:bcprov-jdk15on:1.70"))
}
}