diff --git a/build.gradle b/build.gradle index 62ef3cc..6ff945a 100644 --- a/build.gradle +++ b/build.gradle @@ -104,10 +104,6 @@ subprojects { 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 if (['example-plugin'].contains(project.name)) return; diff --git a/fabric-1.20.1/build.gradle b/fabric-1.20.1/build.gradle index a01956a..d058d99 100644 --- a/fabric-1.20.1/build.gradle +++ b/fabric-1.20.1/build.gradle @@ -16,4 +16,12 @@ dependencies { compileOnly '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/*' } \ No newline at end of file diff --git a/fabric-1.20.6/build.gradle b/fabric-1.20.6/build.gradle index fecb70c..139a2eb 100644 --- a/fabric-1.20.6/build.gradle +++ b/fabric-1.20.6/build.gradle @@ -16,4 +16,12 @@ dependencies { compileOnly '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/*' } \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 6b80447..d5fe0c8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,6 +3,6 @@ javaVersion=17 org.gradle.jvmargs='-Dfile.encoding=UTF-8' org.gradle.daemon=true -library_version=1.0.4 +library_version=1.0.5 library_archive=uniform library_description=Cross-platform wrapper for making Brigadier commands, based on BrigadierWrapper by Tofaa2, itself inspired by emortalmcs command system. \ No newline at end of file