forked from GeyserMC/Floodgate
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle.kts
37 lines (32 loc) · 1016 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
plugins {
`java-library`
id("connect.build-logic")
id("io.freefair.lombok") version "6.3.0" apply false
}
allprojects {
group = "com.minekube.connect"
version = "0.5.0"
description =
"Connects the server/proxy to the global Connect network to reach more players while also supporting online mode server, bungee or velocity mode. Visit https://minekube.com/connect"
}
val deployProjects = setOf(
projects.api,
// for future Connect integration + Fabric
projects.core,
projects.bungee,
projects.spigot,
projects.velocity
).map { it.dependencyProject }
//todo re-add checkstyle when we switch back to 2 space indention
// and take a look again at spotbugs someday
subprojects {
apply {
plugin("java-library")
plugin("io.freefair.lombok")
plugin("connect.build-logic")
}
when (this) {
in deployProjects -> plugins.apply("connect.shadow-conventions")
else -> plugins.apply("connect.base-conventions")
}
}