-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
48 lines (40 loc) · 1003 Bytes
/
build.gradle
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
44
45
46
47
48
plugins {
id 'java'
id "com.github.johnrengelman.shadow" version "7.0.0"
}
group 'fr.lukam'
version '0.2.0'
compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8"
repositories {
mavenCentral()
maven {
name 'm2-dv8tion'
url 'https://m2.dv8tion.net/releases'
}
}
dependencies {
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.7'
implementation group: 'net.dv8tion', name: 'JDA', version: '4.3.0_300'
implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.0-alpha2'
implementation group: 'com.electronwill.night-config', name: 'toml', version: '3.6.0'
}
test {
useJUnitPlatform()
}
sourceSets {
main {
java {
srcDir 'src/main/java'
}
}
}
java {
sourceCompatibility = JavaVersion.toVersion('15')
targetCompatibility = JavaVersion.toVersion('15')
}
jar {
manifest {
attributes 'Main-Class': 'fr.lukam.jambot.Main'
}
}