diff options
Diffstat (limited to 'spark-nukkit/build.gradle')
-rw-r--r-- | spark-nukkit/build.gradle | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/spark-nukkit/build.gradle b/spark-nukkit/build.gradle deleted file mode 100644 index c11e02e..0000000 --- a/spark-nukkit/build.gradle +++ /dev/null @@ -1,47 +0,0 @@ -plugins { - id 'com.gradleup.shadow' version '8.3.0' -} - -dependencies { - implementation project(':spark-common') - compileOnly 'cn.nukkit:nukkit:1.0-SNAPSHOT' -} - -repositories { - maven { url 'https://repo.opencollab.dev/main/' } -} - -processResources { - from(sourceSets.main.resources.srcDirs) { - expand ( - 'pluginVersion': project.pluginVersion, - 'pluginDescription': project.pluginDescription - ) - include 'plugin.yml' - } -} - -shadowJar { - archiveFileName = "spark-${project.pluginVersion}-nukkit.jar" - - relocate 'net.kyori.adventure', 'me.lucko.spark.lib.adventure' - relocate 'net.kyori.examination', 'me.lucko.spark.lib.adventure.examination' - relocate 'net.kyori.option', 'me.lucko.spark.lib.adventure.option' - 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 'one.profiler', 'me.lucko.spark.lib.asyncprofiler' - relocate 'me.lucko.bytesocks.client', 'me.lucko.spark.lib.bytesocks' - relocate 'org.java_websocket', 'me.lucko.spark.lib.bytesocks.ws' - - exclude 'module-info.class' - exclude 'META-INF/maven/**' - exclude 'META-INF/proguard/**' - exclude '**/*.proto' - exclude '**/*.proto.bin' -} - -artifacts { - archives shadowJar - shadow shadowJar -} |