29 lines
551 B
Kotlin
29 lines
551 B
Kotlin
plugins {
|
|
id("java")
|
|
}
|
|
|
|
group = "me.trouper"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(platform("org.junit:junit-bom:6.0.0"))
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
implementation("net.dv8tion:JDA:6.4.1")
|
|
implementation("com.google.code.gson:gson:2.7")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.jar {
|
|
manifest {
|
|
attributes["Main-Class"] = "me.trouper.antispambot.Init"
|
|
}
|
|
}
|