Skip to content

Commit bf93b5d

Browse files
committed
fix: jitpack
1 parent d73ea35 commit bf93b5d

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

settings.gradle

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
rootProject.name = properties['name']
22

3+
include ':singularity-api'
34
include ':api'
45
include ':backend-api'
5-
include ':bungee'
6-
include ':spigot'
7-
include ':velocity'
8-
include ':singularity-api'
6+
7+
if (!System.env.JITPACK) {
8+
include ':bungee'
9+
include ':spigot'
10+
include ':velocity'
11+
}
912

1013
findProject(':backend-api').name = 'bapi'
1114
findProject(':singularity-api').name = 'sapi'
1215

16+
findProject(':sapi').name = rootProject.name + '-Singularity'
1317
findProject(':api').name = rootProject.name + '-API'
1418
findProject(':bapi').name = rootProject.name + '-BAPI'
15-
findProject(':bungee').name = rootProject.name + '-Bungee'
16-
findProject(':spigot').name = rootProject.name + '-Spigot'
17-
findProject(':velocity').name = rootProject.name + '-Velocity'
18-
findProject(':sapi').name = rootProject.name + '-Singularity'
19+
20+
if (!System.env.JITPACK) {
21+
findProject(':bungee').name = rootProject.name + '-Bungee'
22+
findProject(':spigot').name = rootProject.name + '-Spigot'
23+
findProject(':velocity').name = rootProject.name + '-Velocity'
24+
}

0 commit comments

Comments
 (0)