-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
53 lines (45 loc) · 1.51 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
plugins {
id "java"
}
subprojects {
apply plugin: "java"
group = "cloud.starter"
version = "0.0.1"
configurations {
implementation {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
exclude group: "ch.qos.logback", module: "logback-classic"
}
}
dependencies {
// logging
implementation "org.apache.logging.log4j:log4j-api:${log4jVersion}"
implementation "org.apache.logging.log4j:log4j-core:${log4jVersion}"
implementation "org.apache.logging.log4j:log4j-slf4j-impl:${log4jVersion}"
implementation "com.lmax:disruptor:3.4.2"
// apache commons
implementation "org.apache.commons:commons-lang3:3.8"
// spring web starter
implementation "org.springframework.boot:spring-boot-starter-web:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-actuator:${springBootVersion}"
}
compileJava {
sourceCompatibility = 15
targetCompatibility = 15
options.encoding = "UTF-8"
options.compilerArgs.add("--enable-preview")
}
compileTestJava {
sourceCompatibility = 15
targetCompatibility = 15
options.encoding = "UTF-8"
options.compilerArgs.add("--enable-preview")
}
repositories {
maven {
url "https://maven.aliyun.com/repository/public"
}
jcenter()
mavenCentral()
}
}