-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
43 lines (37 loc) · 873 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
plugins {
id 'java'
id "com.github.johnrengelman.shadow" version "5.0.0"
}
group 'com.net.nio'
version '1.0-SNAPSHOT'
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
mavenCentral()
}
sourceSets {
main {
java {
srcDir 'src/java'
}
resources {
srcDir 'src/resources'
}
}
}
shadowJar {
manifest {
attributes(
'Main-Class': 'com.net.nio.NetNioApplication'
)
}
}
dependencies {
compile 'org.slf4j:slf4j-simple:1.8.0-beta0'
implementation 'org.slf4j:slf4j-api:1.8.0-beta2'
implementation 'org.projectlombok:lombok:1.18.12'
annotationProcessor 'org.projectlombok:lombok:1.18.12'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
configurations.all {
exclude module: 'slf4j-log4j12'
}