BaseBandRewrite/Discord/build.gradle
TudbuT 8371ae8216
Some checks failed
/ Build BaseBand Server (push) Failing after 4m11s
bot works now
2024-06-10 18:17:54 +02:00

48 lines
No EOL
960 B
Groovy

plugins {
id 'java'
}
group = 'com.baseband.bot'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
configurations {
jarLibs
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.10.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0'
jarLibs("net.dv8tion:JDA:5.0.0-beta.24")
jarLibs(files('libs/TuddyLIB.jar'))
implementation configurations.jarLibs
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.jarLibs.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.bot.Main',
)
archiveFileName = "BaseBand-Discord.jar"
}
test {
useJUnitPlatform()
}