-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
44 lines (37 loc) · 1.05 KB
/
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
plugins {
id 'java'
}
group 'org.example'
version ''
repositories {
mavenCentral()
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
dependencies {
implementation 'log4j:log4j:1.2.17'
implementation 'org.apache.logging.log4j:log4j-core:2.19.0'
implementation 'org.apache.logging.log4j:log4j-api:2.19.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.8.8'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.8.8'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.8.8'
}
test {
useJUnitPlatform()
}
jar {
manifest {
attributes(
'Main-Class': 'starterpack.Main'
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
archivesBaseName = 'bot'
}