generated from DiscordKt/discordkt-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
40 lines (33 loc) · 1000 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import java.util.*
group = "me.ddivad"
version = "2.0.0"
description = "Bot to manage suggestions for a guild"
plugins {
kotlin("jvm") version "1.7.10"
kotlin("plugin.serialization") version "1.7.10"
id("com.github.johnrengelman.shadow") version "7.0.0"
}
repositories {
mavenCentral()
}
dependencies {
implementation("me.jakejmattson:DiscordKt:0.23.4")
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
Properties().apply {
setProperty("name", project.name)
setProperty("description", project.description)
setProperty("version", version.toString())
setProperty("url", "https://github.com/the-programmers-hangout/SuggestionBot")
store(file("src/main/resources/bot.properties").outputStream(), null)
}
}
shadowJar {
archiveFileName.set("Suggestions.jar")
manifest {
attributes("Main-Class" to "me.ddivad.suggestions.MainKt")
}
}
}