build: fix fabric builds being obscenely large

dependabot/gradle/org.projectlombok-lombok-1.18.34
William 5 months ago
parent 594be092d2
commit 4f5bc46d43
No known key found for this signature in database

@ -104,10 +104,6 @@ subprojects {
archiveClassifier.set('') archiveClassifier.set('')
} }
//if (['example-plugin', 'fabric-1.20.6', 'paper'].contains(project.name)) {
// compileJava.options.release.set 21
//}
// Don't include example plugin in publishing // Don't include example plugin in publishing
if (['example-plugin'].contains(project.name)) return; if (['example-plugin'].contains(project.name)) return;

@ -16,4 +16,12 @@ dependencies {
compileOnly 'org.projectlombok:lombok:1.18.32' compileOnly 'org.projectlombok:lombok:1.18.32'
annotationProcessor 'org.projectlombok:lombok:1.18.32' annotationProcessor 'org.projectlombok:lombok:1.18.32'
}
shadowJar {
configurations = [project.configurations.shadow]
exclude('net.fabricmc:.*')
exclude('net.kyori:.*')
exclude '/mappings/*'
} }

@ -16,4 +16,12 @@ dependencies {
compileOnly 'org.projectlombok:lombok:1.18.32' compileOnly 'org.projectlombok:lombok:1.18.32'
annotationProcessor 'org.projectlombok:lombok:1.18.32' annotationProcessor 'org.projectlombok:lombok:1.18.32'
}
shadowJar {
configurations = [project.configurations.shadow]
exclude('net.fabricmc:.*')
exclude('net.kyori:.*')
exclude '/mappings/*'
} }

@ -3,6 +3,6 @@ javaVersion=17
org.gradle.jvmargs='-Dfile.encoding=UTF-8' org.gradle.jvmargs='-Dfile.encoding=UTF-8'
org.gradle.daemon=true org.gradle.daemon=true
library_version=1.0.4 library_version=1.0.5
library_archive=uniform library_archive=uniform
library_description=Cross-platform wrapper for making Brigadier commands, based on BrigadierWrapper by Tofaa2, itself inspired by emortalmcs command system. library_description=Cross-platform wrapper for making Brigadier commands, based on BrigadierWrapper by Tofaa2, itself inspired by emortalmcs command system.
Loading…
Cancel
Save