generated from DiscordKt/discordkt-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
43 lines (36 loc) · 1.01 KB
/
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
41
42
43
group = "me.moeszyslak"
version = "2.0.3"
description = "A multi-guild logging bot"
plugins {
kotlin("jvm") version "2.0.0"
kotlin("plugin.serialization") version "2.0.0"
id("com.github.johnrengelman.shadow") version "8.1.1"
}
repositories {
mavenCentral()
}
dependencies {
implementation("me.jakejmattson:DiscordKt:0.24.0")
implementation("com.google.guava:guava:33.2.1-jre")
}
tasks {
kotlin {
jvmToolchain(17)
}
compileKotlin {
doLast("writeProperties") {}
}
register<WriteProperties>("writeProperties") {
property("name", project.name)
property("description", project.description.toString())
property("version", version.toString())
property("url", "https://github.com/the-programmers-hangout/LogBot")
setOutputFile("src/main/resources/bot.properties")
}
shadowJar {
archiveFileName.set("LogBot.jar")
manifest {
attributes("Main-Class" to "me.moeszyslak.logbot.MainKt")
}
}
}