BaseBandRewrite/Server/build.gradle
TudbuT 7be8cabc2d
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m58s
remove the consumers of disk space
2024-06-25 04:27:30 +02:00

40 lines
No EOL
999 B
Groovy

plugins {
id 'java'
}
group = 'dev.baseband'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven { url = 'https://git.tudbut.de/api/packages/TudbuT/maven' }
maven { url = 'https://git.tudbut.de/api/packages/BaseBand/maven' }
}
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 embed('de.tudbut:tuddylib:+')
implementation embed('at.favre.lib:bcrypt:0.10.2')
}
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'
}