BaseBandRewrite/Server/build.gradle

42 lines
1,016 B
Groovy
Raw Permalink Normal View History

2023-08-26 16:19:12 +02:00
plugins {
id 'java'
}
group = 'dev.baseband'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
2024-06-25 04:27:30 +02:00
maven { url = 'https://git.tudbut.de/api/packages/TudbuT/maven' }
maven { url = 'https://git.tudbut.de/api/packages/BaseBand/maven' }
2023-08-26 16:19:12 +02:00
}
2023-08-27 21:21:06 +02:00
configurations {
embed
reloadQuickly {
2024-06-25 08:24:30 +02:00
resolutionStrategy.cacheDynamicVersionsFor(30, 'seconds')
resolutionStrategy.cacheChangingModulesFor(30, 'seconds')
2024-06-25 05:35:36 +02:00
}
2023-08-27 21:21:06 +02:00
}
dependencies {
reloadQuickly embed('de.tudbut:tuddylib:+')
embed('at.favre.lib:bcrypt:0.10.2')
2024-06-25 08:36:26 +02:00
implementation configurations.embed
2023-08-27 21:21:06 +02:00
}
2023-08-26 16:19:12 +02:00
jar {
2023-08-28 06:53:33 +02:00
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
2023-08-27 21:21:06 +02:00
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"
}
2023-08-26 16:19:12 +02:00
manifest {
attributes(
2024-06-12 11:05:23 +02:00
'Main-Class': 'de.com.baseband.server.Main'
2023-08-26 16:19:12 +02:00
)
}
2024-06-12 11:05:23 +02:00
archiveFileName = 'BaseBand-Server.jar'
2023-08-26 16:19:12 +02:00
}