-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
59 lines (50 loc) · 1.79 KB
/
build.gradle
File metadata and controls
59 lines (50 loc) · 1.79 KB
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
buildscript {
ext {
springBootVersion = '2.1.1.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
group = 'com.suye'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
implementation('org.springframework.boot:spring-boot-starter-data-redis')
implementation('org.springframework.boot:spring-boot-starter-jdbc')
implementation('org.springframework.boot:spring-boot-starter-web')
implementation('org.mybatis.spring.boot:mybatis-spring-boot-starter:1.3.2')
testImplementation('org.springframework.boot:spring-boot-starter-test')
// testCompile ('junit:junit:4.12')
// 添加 Thymeleaf 的依赖
compile('org.springframework.boot:spring-boot-starter-thymeleaf')
//自动更新静态文件
//compile('org.springframework.boot:spring-boot-devtools:true')
// 添加 MySQL连接驱动 的依赖
compile('mysql:mysql-connector-java:6.0.5')
//netty的依赖
compile('io.netty:netty-microbench:4.1.6.Final')
//对IO的依赖
compile('commons-fileupload:commons-fileupload:1.2.1')
compile('commons-io:commons-io:2.3')
// compile('javax.mail:mail:1.4.7')
compile('org.springframework.boot:spring-boot-starter-mail')
//对jedis的支持
compile ('redis.clients:jedis:2.8.1')
//对service层的单元测试支持
//compile('org.mockito:mockito-all:1.9.5:test')
//compile('junit:junit')
compile('org.jsoup:jsoup:1.10.2')
//邮件
//comile('org.springframework.boot:spring-boot-starter-mail')
}