BaseBandRewrite/Server/build.gradle
TudbuT 93f8dfb8ad
All checks were successful
/ Build BaseBand Installer (push) Successful in 57s
/ Build BaseBand Server (push) Successful in 1m39s
/ Build BaseBand DSM & Broadway (push) Successful in 2m10s
/ Build BaseBand Loader (push) Successful in 1m46s
fix server compiling
2024-06-25 08:36:26 +02:00

42 lines
No EOL
1,016 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
reloadQuickly {
resolutionStrategy.cacheDynamicVersionsFor(30, 'seconds')
resolutionStrategy.cacheChangingModulesFor(30, 'seconds')
}
}
dependencies {
reloadQuickly embed('de.tudbut:tuddylib:+')
embed('at.favre.lib:bcrypt:0.10.2')
implementation configurations.embed
}
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'
}