forked from Javacord/Javacord-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
41 lines (35 loc) · 970 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
41
plugins {
application
checkstyle
alias(libs.plugins.utf8)
}
repositories {
mavenCentral()
}
dependencies {
implementation(libs.command.framework)
implementation(libs.cdi.api)
implementation(libs.inject.api)
implementation(libs.javacord)
implementation(libs.okhttp)
implementation(libs.jackson.databind)
implementation(libs.log4j.api)
implementation(libs.log4j.jul)
runtimeOnly(libs.antlr.runtime) { because("Optional dependency for parameter parser") }
runtimeOnly(libs.weld.se) { because("CDI implementation") }
runtimeOnly(libs.jandex) { because("faster CDI bean scanning") }
runtimeOnly(libs.log4j.core)
runtimeOnly(libs.log4j.slf4j.impl)
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(libs.versions.java.get()))
}
}
application {
mainClass.set("org.javacord.bot.Main")
}
checkstyle {
toolVersion = libs.versions.checkstyle.get()
maxWarnings = 0
}