diff --git a/build.gradle b/build.gradle index e211f3483..465be279e 100644 --- a/build.gradle +++ b/build.gradle @@ -11,6 +11,7 @@ plugins { id 'idea' id 'maven-publish' id 'org.jetbrains.kotlin.jvm' version '1.6.0' + id 'com.github.johnrengelman.shadow' version '7.1.0' } allprojects { @@ -19,6 +20,7 @@ allprojects { apply plugin: 'java-library' apply plugin: 'maven-publish' + apply plugin: 'com.github.johnrengelman.shadow' java { withSourcesJar() diff --git a/litecommands-bukkit/build.gradle b/litecommands-bukkit/build.gradle index 4ef220e95..e5e86c4f5 100644 --- a/litecommands-bukkit/build.gradle +++ b/litecommands-bukkit/build.gradle @@ -1,5 +1,5 @@ dependencies { - implementation project(":litecommands-core").getProject() + api project(":litecommands-core").getProject() compileOnly "org.spigotmc:spigot-api:1.18.1-R0.1-SNAPSHOT" } diff --git a/litecommands-bungee/build.gradle b/litecommands-bungee/build.gradle index 504b7bc2d..c0cf82dc0 100644 --- a/litecommands-bungee/build.gradle +++ b/litecommands-bungee/build.gradle @@ -1,5 +1,5 @@ dependencies { - implementation project(":litecommands-core").getProject() + api project(":litecommands-core").getProject() compileOnly "net.md-5:bungeecord-api:1.18-R0.1-SNAPSHOT" } diff --git a/litecommands-velocity/build.gradle b/litecommands-velocity/build.gradle index f3818a466..e1c73407e 100644 --- a/litecommands-velocity/build.gradle +++ b/litecommands-velocity/build.gradle @@ -1,5 +1,5 @@ dependencies { - implementation project(":litecommands-core").getProject() + api project(":litecommands-core").getProject() compileOnly 'com.velocitypowered:velocity-api:3.0.2-SNAPSHOT' }