Also added some new tasks to only build/install to maven local certain platforms `buildMinecraft`, `installMinecraft`, `buildDiscord`, `installDiscord`, `buildIRC`, `installIRC`
24 lines
405 B
Kotlin
24 lines
405 B
Kotlin
plugins {
|
|
application
|
|
id("com.github.johnrengelman.shadow")
|
|
}
|
|
|
|
application {
|
|
mainClass.set("cloud.commandframework.examples.jda.ExampleBot")
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":cloud-jda"))
|
|
implementation("net.dv8tion:JDA:4.2.0_212")
|
|
implementation("org.slf4j:slf4j-simple:1.7.30")
|
|
}
|
|
|
|
tasks {
|
|
build {
|
|
dependsOn(shadowJar)
|
|
}
|
|
}
|