mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-19 14:59:20 +00:00
Don't archive core & api artifacts. Don't deploy databases. Deploy core
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -21,7 +21,10 @@ pipeline {
|
||||
post {
|
||||
success {
|
||||
archiveArtifacts artifacts: '**/build/libs/floodgate-*.jar',
|
||||
excludes: '**/floodgate-parent-*.jar',
|
||||
excludes:
|
||||
'**/floodgate-parent-*.jar',
|
||||
'**/floodgate-api-*.jar',
|
||||
'**/floodgate-core-*.jar'
|
||||
fingerprint: true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id("floodgate.publish-conventions")
|
||||
id("floodgate.shadow-conventions")
|
||||
}
|
||||
|
||||
tasks {
|
||||
|
||||
@@ -12,14 +12,15 @@ allprojects {
|
||||
description = "Allows Bedrock players to join Java edition servers while keeping the server in online mode"
|
||||
}
|
||||
|
||||
val platforms = setOf(
|
||||
val deployProjects = setOf(
|
||||
projects.api,
|
||||
// for future Floodgate integration + Fabric
|
||||
projects.core,
|
||||
projects.bungee,
|
||||
projects.spigot,
|
||||
projects.velocity
|
||||
).map { it.dependencyProject }
|
||||
|
||||
projects.api.dependencyProject.plugins.apply("floodgate.publish-conventions")
|
||||
|
||||
//todo re-add pmd and organisation/license/sdcm/issuemanagement stuff
|
||||
|
||||
subprojects {
|
||||
@@ -44,10 +45,10 @@ subprojects {
|
||||
if (relativePath.startsWith("database" + File.separator)) {
|
||||
group = rootProject.group as String + ".database"
|
||||
plugins.apply("floodgate.database-conventions")
|
||||
} else {
|
||||
when (this) {
|
||||
in platforms -> plugins.apply("floodgate.publish-conventions")
|
||||
else -> plugins.apply("floodgate.base-conventions")
|
||||
}
|
||||
}
|
||||
|
||||
when (this) {
|
||||
in deployProjects -> plugins.apply("floodgate.publish-conventions")
|
||||
else -> plugins.apply("floodgate.base-conventions")
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,6 @@ import net.kyori.blossom.BlossomExtension
|
||||
|
||||
plugins {
|
||||
id("net.kyori.blossom")
|
||||
id("floodgate.shadow-conventions")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
Reference in New Issue
Block a user