diff --git a/build.gradle b/build.gradle index 06f1520..5d3bc79 100644 --- a/build.gradle +++ b/build.gradle @@ -84,14 +84,6 @@ jar { archiveFileName = findProperty("plugin-name") + " v" + findProperty("version") + ".jar" } -publishing { - publications { - maven(MavenPublication) { - from(components.java) - } - } -} - group = 'com.willfp' archivesBaseName = project.name version = findProperty("version") diff --git a/eco-core/core-plugin/build.gradle b/eco-core/core-plugin/build.gradle index dbee654..543f004 100644 --- a/eco-core/core-plugin/build.gradle +++ b/eco-core/core-plugin/build.gradle @@ -4,4 +4,14 @@ version rootProject.version dependencies { compileOnly 'io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT' compileOnly 'com.github.MilkBowl:VaultAPI:1.7' +} + +build.dependsOn publishToMavenLocal + +publishing { + publications { + maven(MavenPublication) { + from(components.java) + } + } } \ No newline at end of file