BaseBandRewrite/Server/build.gradle
TudbuT 1a9d14ef10
Some checks failed
/ Build BaseBand DSM & Broadway (push) Successful in 5m6s
/ Build BaseBand Loader (push) Has been cancelled
/ Build BaseBand Server (push) Successful in 3m19s
mostly make loader work, mixins still broken (causing a crash)
2024-06-09 23:31:27 +02:00

39 lines
No EOL
864 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': 'com.baseband.server.Main'
)
}
baseName = 'BaseBand'
version = 'Server'
}