diff options
author | PandaNinjas <admin@malwarefight.gq> | 2023-02-09 19:17:16 -0800 |
---|---|---|
committer | PandaNinjas <admin@malwarefight.gq> | 2023-02-09 19:17:16 -0800 |
commit | 661d40251d6f8f98497aa61f5ea2e3c67f8e9190 (patch) | |
tree | 00333dd10874dfebefc33f1291da4385977435e9 /build.gradle | |
parent | 0579088389caf554624787fcfae910a1d7bede71 (diff) | |
download | NoSession-661d40251d6f8f98497aa61f5ea2e3c67f8e9190.tar.gz NoSession-661d40251d6f8f98497aa61f5ea2e3c67f8e9190.tar.bz2 NoSession-661d40251d6f8f98497aa61f5ea2e3c67f8e9190.zip |
it works:tm:
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/build.gradle b/build.gradle index d7a1031..c54ce08 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,6 @@ buildscript { plugins { id "java" - id "com.github.johnrengelman.shadow" version "2.0.4" } apply plugin: 'net.minecraftforge.gradle.forge' @@ -45,7 +44,7 @@ repositories { } dependencies { - shade('org.spongepowered:mixin:0.7.10-SNAPSHOT') { + shade('org.spongepowered:mixin:0.7.11-SNAPSHOT') { exclude module: 'launchwrapper' exclude module: 'guava' exclude module: 'gson' @@ -73,19 +72,16 @@ processResources { rename '(.+_at.cfg)', 'META-INF/$1' } -shadowJar { - dependencies {} - configurations = [project.configurations.shade] - duplicatesStrategy DuplicatesStrategy.EXCLUDE //prevent duplicates - classifier "" //prevent creation of unshadowed jar -} - -reobf { - //reobfuscate the shadowed jar - shadowJar {} -} jar { + dependsOn configurations.compile + from { + configurations.compile.collect { + it.isDirectory() ? it : zipTree(it) + } + } + exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA', 'dummyThing' + manifest { attributes "ForceLoadAsMod": true, "TweakOrder": 0, |