✨ Convert build scripts to Kotlin
Also added some new tasks to only build/install to maven local certain platforms `buildMinecraft`, `installMinecraft`, `buildDiscord`, `installDiscord`, `buildIRC`, `installIRC`
This commit is contained in:
parent
d812ea633a
commit
2c188eb130
48 changed files with 519 additions and 499 deletions
24
examples/example-jda/build.gradle.kts
Normal file
24
examples/example-jda/build.gradle.kts
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
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)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue