diff --git a/build.gradle b/build.gradle index a663f4c..4c16041 100644 --- a/build.gradle +++ b/build.gradle @@ -99,11 +99,3 @@ compileJava.options.encoding = 'UTF-8' build.dependsOn shadowJar build.dependsOn publishToMavenLocal - -publishing { - publications { - shadow(MavenPublication) { - from components.java - } - } -} \ No newline at end of file diff --git a/eco-core/core-plugin/build.gradle b/eco-core/core-plugin/build.gradle index 3f90b63..67e4568 100644 --- a/eco-core/core-plugin/build.gradle +++ b/eco-core/core-plugin/build.gradle @@ -3,4 +3,13 @@ version rootProject.version dependencies { compileOnly 'org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT' +} + +publishing { + publications { + Library(MavenPublication) { + from project.components.java + artifact tasks.shadowJar + } + } } \ No newline at end of file