aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorPandaNinjas <admin@malwarefight.gq>2023-02-09 19:17:16 -0800
committerPandaNinjas <admin@malwarefight.gq>2023-02-09 19:17:16 -0800
commit661d40251d6f8f98497aa61f5ea2e3c67f8e9190 (patch)
tree00333dd10874dfebefc33f1291da4385977435e9 /build.gradle
parent0579088389caf554624787fcfae910a1d7bede71 (diff)
downloadNoSession-661d40251d6f8f98497aa61f5ea2e3c67f8e9190.tar.gz
NoSession-661d40251d6f8f98497aa61f5ea2e3c67f8e9190.tar.bz2
NoSession-661d40251d6f8f98497aa61f5ea2e3c67f8e9190.zip
it works:tm:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle22
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,