1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-19 14:59:20 +00:00

Another attempt to make publishing work

This commit is contained in:
Tim203
2021-12-11 00:31:19 +01:00
parent 5e7bd40960
commit 21756bbca1
5 changed files with 31 additions and 10 deletions

View File

@@ -5,6 +5,11 @@ plugins {
id("io.freefair.lombok") version "6.3.0" apply false
}
allprojects{
group = "org.geysermc.floodgate"
version = "2.1.1-SNAPSHOT"
}
val platforms = setOf(
projects.bungee,
projects.spigot,
@@ -23,12 +28,9 @@ subprojects {
plugin("floodgate.build-logic")
}
group = "org.geysermc.floodgate"
//todo make nicer
if (project.name in arrayOf("mysql", "sqlite")) {
group = group as String + ".database"
if (project.projectDir.startsWith("database/")) {
group = rootProject.group as String + ".database"
}
version = "2.1.1-SNAPSHOT"
when (this) {
in platforms -> plugins.apply("floodgate.shadow-conventions")