aboutsummaryrefslogtreecommitdiff
path: root/spark-fabric/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'spark-fabric/build.gradle')
-rw-r--r--spark-fabric/build.gradle18
1 files changed, 13 insertions, 5 deletions
diff --git a/spark-fabric/build.gradle b/spark-fabric/build.gradle
index 35b7a86..8b6d030 100644
--- a/spark-fabric/build.gradle
+++ b/spark-fabric/build.gradle
@@ -28,9 +28,9 @@ configurations {
dependencies {
// https://modmuss50.me/fabric.html
- minecraft 'com.mojang:minecraft:1.19'
- mappings 'net.fabricmc:yarn:1.19+build.1:v2'
- modImplementation 'net.fabricmc:fabric-loader:0.14.7'
+ minecraft 'com.mojang:minecraft:1.19.3'
+ mappings 'net.fabricmc:yarn:1.19.3+build.2:v2'
+ modImplementation 'net.fabricmc:fabric-loader:0.14.11'
Set<String> apiModules = [
"fabric-api-base",
@@ -40,7 +40,7 @@ dependencies {
// Add each module as a dependency
apiModules.forEach {
- modImplementation(fabricApi.module(it, '0.55.3+1.19'))
+ modImplementation(fabricApi.module(it, '0.68.1+1.19.3'))
}
include(modImplementation('me.lucko:fabric-permissions-api:0.1-SNAPSHOT'))
@@ -66,6 +66,10 @@ processResources {
}
}
+license {
+ exclude '**/smap/SourceMap.java'
+}
+
shadowJar {
archiveFileName = "spark-fabric-${project.pluginVersion}-dev.jar"
configurations = [project.configurations.shade]
@@ -74,12 +78,16 @@ shadowJar {
relocate 'net.kyori.examination', 'me.lucko.spark.lib.adventure.examination'
relocate 'net.bytebuddy', 'me.lucko.spark.lib.bytebuddy'
relocate 'com.google.protobuf', 'me.lucko.spark.lib.protobuf'
- relocate 'org.objectweb.asm', 'me.lucko.spark.lib.asm'
+// relocate 'org.objectweb.asm', 'me.lucko.spark.lib.asm'
relocate 'one.profiler', 'me.lucko.spark.lib.asyncprofiler'
exclude 'module-info.class'
exclude 'META-INF/maven/**'
exclude 'META-INF/proguard/**'
+
+ dependencies {
+ exclude(dependency('org.ow2.asm::'))
+ }
}
task remappedShadowJar(type: RemapJarTask) {