From a40415a76f2c9cf16fd2fe14fc2ea6c145f185f1 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Wed, 21 Jul 2021 13:29:56 +0100 Subject: [PATCH] Moved maven artifact to spigot library --- build.gradle | 1 - eco-core/core-plugin/build.gradle | 4 +--- eco-core/core-plugin/src/main/resources/plugin.yml | 3 ++- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 42b1bf0e..2283dc18 100644 --- a/build.gradle +++ b/build.gradle @@ -75,7 +75,6 @@ allprojects { shadowJar { relocate('org.bstats.bukkit', 'com.willfp.eco.shaded.bstats') - relocate('org.apache.maven', 'com.willfp.eco.shaded.maven') } jar { diff --git a/eco-core/core-plugin/build.gradle b/eco-core/core-plugin/build.gradle index 4ddcbe45..278dab87 100644 --- a/eco-core/core-plugin/build.gradle +++ b/eco-core/core-plugin/build.gradle @@ -2,8 +2,8 @@ group 'com.willfp' version rootProject.version dependencies { - implementation 'org.apache.maven:maven-artifact:3.0.3' implementation 'org.bstats:bstats-bukkit:1.7' + compileOnly 'org.apache.maven:maven-artifact:3.0.3' compileOnly 'com.google.code.gson:gson:2.8.7' compileOnly 'org.spigotmc:spigot-api:1.17-R0.1-SNAPSHOT' compileOnly project(":eco-core:core-proxy") @@ -19,8 +19,6 @@ dependencies { compileOnly 'com.github.jiangdashao:matrix-api-repo:317d4635fd' compileOnly 'com.gmail.nossr50.mcMMO:mcMMO:2.1.157' compileOnly 'me.clip:placeholderapi:2.10.9' - - // TODO: Find the actual repo and way of installing things. Environment variables seem like a pain. compileOnly 'io.th0rgal:oraxen:1.83.1' compileOnly 'com.github.LoneDev6:API-ItemsAdder:2.3.8' diff --git a/eco-core/core-plugin/src/main/resources/plugin.yml b/eco-core/core-plugin/src/main/resources/plugin.yml index 082abf0d..7d04eb09 100644 --- a/eco-core/core-plugin/src/main/resources/plugin.yml +++ b/eco-core/core-plugin/src/main/resources/plugin.yml @@ -27,4 +27,5 @@ softdepend: - mcMMO - CombatLogX libraries: - - org.reflections:reflections:0.9.12 \ No newline at end of file + - org.reflections:reflections:0.9.12 + - org.apache.maven:maven-artifact:3.0.3 \ No newline at end of file