-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbuild.gradle
More file actions
46 lines (37 loc) · 1.06 KB
/
build.gradle
File metadata and controls
46 lines (37 loc) · 1.06 KB
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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'cl.franciscosolis.blossom-extended' version '1.3.1'
}
group 'com.songoda'
version '3.2.2'
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://repo.songoda.com/repository/public/' }
}
dependencies {
implementation 'com.serverjars:ServerJarsAPI:1'
implementation 'me.tongfei:progressbar:0.9.3'
implementation 'commons-io:commons-io:2.11.0'
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
testCompileOnly 'org.projectlombok:lombok:1.18.24'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.24'
}
blossom {
replaceToken '@version@', project.version
}
shadowJar {
minimize()
mergeServiceFiles()
exclude('**/META-INF/*.SF')
exclude('**/META-INF/*.DSA')
exclude('**/META-INF/*.RSA')
archiveBaseName.set('ServerJars')
archiveClassifier.set('')
archiveVersion.set('')
manifest {
attributes 'Main-Class': 'com.songoda.serverjars.ServerJars'
}
}