diff --git a/build.gradle b/build.gradle index 9d2d2ed..1798101 100644 --- a/build.gradle +++ b/build.gradle @@ -160,7 +160,13 @@ allprojects { } // Nest all subproject artifacts within the main/bundle distribution -dependencies { subprojects.each { include project("${it.name}:") } } +dependencies { + subprojects.each { + implementation project(path: ":${it.name}", configuration: 'namedElements') + implementation project(path: ":${it.name}", configuration: 'shadow') + include project("${it.name}:") + } +} // Define how artifacts are published to CurseForge (https://curseforge.com) curseforge { diff --git a/minecord-chat/build.gradle b/minecord-chat/build.gradle index 5db6876..e6a9da9 100644 --- a/minecord-chat/build.gradle +++ b/minecord-chat/build.gradle @@ -1,6 +1,6 @@ // Declare dependencies dependencies { - implementation project(path: ':minecord-api', configuration: 'shadow') implementation project(path: ':minecord-api', configuration: 'namedElements') + implementation project(path: ':minecord-api', configuration: 'shadow') implementation shade("io.github.java-diff-utils:java-diff-utils:${project.java_diff_utils_version}") } diff --git a/minecord-cmds/build.gradle b/minecord-cmds/build.gradle index ae4250c..b2ac044 100644 --- a/minecord-cmds/build.gradle +++ b/minecord-cmds/build.gradle @@ -1,5 +1,5 @@ // Declare dependencies dependencies { - implementation project(path: ':minecord-api', configuration: 'shadow') implementation project(path: ':minecord-api', configuration: 'namedElements') + implementation project(path: ':minecord-api', configuration: 'shadow') } diff --git a/minecord-presence/build.gradle b/minecord-presence/build.gradle index ae4250c..b2ac044 100644 --- a/minecord-presence/build.gradle +++ b/minecord-presence/build.gradle @@ -1,5 +1,5 @@ // Declare dependencies dependencies { - implementation project(path: ':minecord-api', configuration: 'shadow') implementation project(path: ':minecord-api', configuration: 'namedElements') + implementation project(path: ':minecord-api', configuration: 'shadow') }