BaseBandRewrite/Server/build.gradle
TudbuT fce00f8c35
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 1m34s
/ Build BaseBand Installer (push) Successful in 1m14s
/ Build BaseBand Loader (push) Successful in 1m42s
/ Build BaseBand Server (push) Successful in 1m31s
package refactor
2024-06-12 11:05:23 +02:00

38 lines
No EOL
862 B
Groovy

plugins {
id 'java'
}
group = 'dev.baseband'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
configurations {
embed
compile.extendsFrom(embed)
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
implementation(fileTree(dir: "lib", include: "*.jar"))
embed(fileTree(dir: "lib", include: "*.jar"))
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.embed.collect { it.isDirectory() ? it : zipTree(it) }
} {
exclude "LICENSE.txt", "META-INF/MANIFSET.MF", "META-INF/maven/**", "META-INF/*.RSA", "META-INF/*.SF"
}
manifest {
attributes(
'Main-Class': 'de.com.baseband.server.Main'
)
}
archiveFileName = 'BaseBand-Server.jar'
}