-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
67 lines (53 loc) · 1.89 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
63
64
65
66
67
plugins {
id 'java'
}
group 'top.nintha'
version '0.0.1'
sourceCompatibility = 11
targetCompatibility = 11
compileJava.options.encoding = 'UTF-8'
repositories {
maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
mavenCentral()
}
ext {
vertxVersion = '4.0.2'
lombokVersion = '1.18.18'
}
dependencies {
testImplementation(platform('org.junit:junit-bom:5.7.1'))
testImplementation('org.junit.jupiter:junit-jupiter')
implementation "io.vertx:vertx-core:$vertxVersion"
implementation "io.vertx:vertx-web:$vertxVersion"
implementation "io.vertx:vertx-web-client:$vertxVersion"
implementation "io.vertx:vertx-rx-java2:$vertxVersion"
implementation "io.vertx:vertx-junit5:$vertxVersion"
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.8.1'
implementation "org.slf4j:slf4j-api:1.8.0-beta4"
implementation "ch.qos.logback:logback-core:1.3.0-alpha5"
implementation "ch.qos.logback:logback-classic:1.3.0-alpha5"
implementation group: 'org.javassist', name: 'javassist', version: '3.25.0-GA'
implementation group: 'com.google.guava', name: 'guava', version: '30.1-jre'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.12.2'
compileOnly "org.projectlombok:lombok:$lombokVersion"
annotationProcessor "org.projectlombok:lombok:$lombokVersion"
testCompileOnly "org.projectlombok:lombok:$lombokVersion"
testAnnotationProcessor "org.projectlombok:lombok:$lombokVersion"
}
jar {
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
manifest {
attributes 'Main-Class': 'top.nintha.veladder.AppLauncher'
}
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}