-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
43 lines (35 loc) · 1.41 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
plugins {
id 'java'
id 'org.springframework.boot' version '2.3.4.RELEASE'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
}
group 'org.example'
version '1.0-SNAPSHOT'
allprojects {
repositories {
maven { url 'https://maven.aliyun.com/repository/public/' }
mavenCentral()
}
}
dependencies {
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
implementation group: 'com.alibaba', name: 'hessian-lite', version: '3.2.6'
// https://mvnrepository.com/artifact/org.reflections/reflections
compile group: 'org.reflections', name: 'reflections', version: '0.9.12'
// 引入spring boot基础模块,使用ioc
implementation('org.springframework.boot:spring-boot-starter')
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// https://mvnrepository.com/artifact/io.netty/netty-all
implementation(group: 'io.netty', name: 'netty-all', version: '4.1.50.Final')
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
// https://mvnrepository.com/artifact/org.quartz-scheduler/quartz
implementation group: 'org.quartz-scheduler', name: 'quartz', version: '2.3.2'
}
test {
useJUnitPlatform()
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}