-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
62 lines (48 loc) · 1.41 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
group 'cn.codethink'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
mavenLocal()
maven {
name 'codethink repo'
url 'https://repo.codethink.top/public'
}
}
jar {
manifest {
attributes 'Main-Class': 'cn.codethink.sponsor.SponsorSystemLauncher'
}
}
dependencies {
// lombok
compileOnly 'org.projectlombok:lombok:1.18.22'
annotationProcessor 'org.projectlombok:lombok:1.18.22'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
testCompileOnly 'org.projectlombok:lombok:1.18.22'
// yaml
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.2.2'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.2'
// jline
implementation 'org.jline:jline:3.21.0'
implementation 'org.jline:jline-terminal-jansi:3.21.0'
// command
implementation 'cn.chuanwise:command-core:2.6.1'
implementation 'cn.chuanwise:command-module-jline:2.6.1'
// junit
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
}
test {
useJUnitPlatform()
}
shadowJar {
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
exclude "META-INF/LICENSE"
archiveName project.name + '-' + version + '.' + extension
}