dependencies {
api project(':common:api')
implementation project(':common:core')
implementation 'com.google.code.gson:gson:2.14.0'
implementation 'org.xerial:sqlite-jdbc:3.53.1.0'
implementation 'org.bouncycastle:bcprov-jdk18on:1.84'
testImplementation platform('org.junit:junit-bom:5.13.4')
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.assertj:assertj-core:3.27.6'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.register('contentSupervisorJar', Jar) {
group = 'distribution'
description = 'Build the opt-in, JDK-only content restart supervisor (no Minecraft or Gson dependencies).'
dependsOn tasks.named('compileJava')
archiveBaseName = 'xfesm-content-supervisor'
destinationDirectory = rootProject.layout.projectDirectory.dir('dist')
from(sourceSets.main.output.classesDirs) {
include 'com/xfestudio/xfeservermanager/infra/content/restart/**'
}
manifest { attributes 'Main-Class': 'com.xfestudio.xfeservermanager.infra.content.restart.ContentSupervisorMain' }
}
def webDistribution = rootProject.file('web-ui/dist')
tasks.named('processResources').configure {
if (webDistribution.isDirectory()) {
exclude 'web/**'
from(webDistribution) {
into 'web'
}
}
}
dependencies {
api project(':common:api')
implementation project(':common:core')
implementation 'com.google.code.gson:gson:2.14.0'
implementation 'org.xerial:sqlite-jdbc:3.53.1.0'
implementation 'org.bouncycastle:bcprov-jdk18on:1.84'
testImplementation platform('org.junit:junit-bom:5.13.4')
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.assertj:assertj-core:3.27.6'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.register('contentSupervisorJar', Jar) {
group = 'distribution'
description = 'Build the opt-in, JDK-only content restart supervisor (no Minecraft or Gson dependencies).'
dependsOn tasks.named('compileJava')
archiveBaseName = 'xfesm-content-supervisor'
destinationDirectory = rootProject.layout.projectDirectory.dir('dist')
from(sourceSets.main.output.classesDirs) {
include 'com/xfestudio/xfeservermanager/infra/content/restart/**'
}
manifest { attributes 'Main-Class': 'com.xfestudio.xfeservermanager.infra.content.restart.ContentSupervisorMain' }
}
def webDistribution = rootProject.file('web-ui/dist')
tasks.named('processResources').configure {
if (webDistribution.isDirectory()) {
exclude 'web/**'
from(webDistribution) {
into 'web'
}
}
}