diff --git a/settings.gradle b/settings.gradle index f9adcd7b..f9304093 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,18 +1,24 @@ rootProject.name = properties['name'] +include ':singularity-api' include ':api' include ':backend-api' -include ':bungee' -include ':spigot' -include ':velocity' -include ':singularity-api' + +if (!System.env.JITPACK) { + include ':bungee' + include ':spigot' + include ':velocity' +} findProject(':backend-api').name = 'bapi' findProject(':singularity-api').name = 'sapi' +findProject(':sapi').name = rootProject.name + '-Singularity' findProject(':api').name = rootProject.name + '-API' findProject(':bapi').name = rootProject.name + '-BAPI' -findProject(':bungee').name = rootProject.name + '-Bungee' -findProject(':spigot').name = rootProject.name + '-Spigot' -findProject(':velocity').name = rootProject.name + '-Velocity' -findProject(':sapi').name = rootProject.name + '-Singularity' + +if (!System.env.JITPACK) { + findProject(':bungee').name = rootProject.name + '-Bungee' + findProject(':spigot').name = rootProject.name + '-Spigot' + findProject(':velocity').name = rootProject.name + '-Velocity' +} \ No newline at end of file