-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
55 lines (38 loc) · 1006 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
49
50
51
52
group 'fun.bookish.vertx'
version '2.0'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
buildscript {
repositories {
maven{
url "http://maven.aliyun.com/nexus/content/groups/public/"
}
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3'
}
}
sourceCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
repositories {
maven{
url "http://maven.aliyun.com/nexus/content/groups/public/"
}
}
shadowJar {
classifier = 'fat'
/*manifest {
attributes 'Main-Class': 'ApplicationMain'
}*/
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile 'io.vertx:vertx-web:3.4.2'
compile 'io.vertx:vertx-auth-common:3.2.1'
compile 'org.apache.commons:commons-lang3:3.7'
compile 'org.slf4j:slf4j-log4j12:1.7.21'
compile 'org.slf4j:slf4j-api:1.7.21'
compile 'org.slf4j:slf4j-api:RELEASE'
}