forked from qimok/DataMigrate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
110 lines (90 loc) · 3.15 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
buildscript {
ext {
springBootPluginVersion = '2.1.9.RELEASE'
ehcacheVersion = '2.10.4'
mysqlConnectorVersion = '5.1.44'
lombokVersion = '1.16.18'
springfoxVersion = '2.6.1'
mybatisVersion = '3.4.5'
mybatisStarterVersion = '1.3.0'
hikariCPVersion = '2.5.1'
commonMapperVersion = '3.4.4'
commonsIOVersion = '2.4'
commonsLangversion = '3.7'
commonsCodecVersion = '1.11'
fastJsonVersion = '1.2.41'
flywayVersion = '5.2.4'
guavaVersion = '29.0-jre'
collectionsVersion = '3.2.2'
}
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
mavenCentral()
maven { url "http://repo.spring.io/release" }
maven { url "http://repo.spring.io/milestone" }
maven { url "http://repo.spring.io/snapshot" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootPluginVersion}")
}
}
plugins {
id 'org.springframework.boot' version '2.1.9.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
}
group = 'com.qimok'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
}
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
mavenCentral()
maven { url "http://repo.spring.io/release" }
maven { url "http://repo.spring.io/milestone" }
maven { url "http://repo.spring.io/snapshot" }
}
dependencies {
// swagger
compile("io.springfox:springfox-swagger-ui:$springfoxVersion")
testCompile("io.springfox:springfox-staticdocs:$springfoxVersion")
compile("io.springfox:springfox-swagger2:$springfoxVersion")
compile("io.springfox:springfox-bean-validators:$springfoxVersion")
// web
compile("org.springframework.boot:spring-boot-starter-web:${springBootPluginVersion}")
// aop
compile("org.springframework.boot:spring-boot-starter-aop:${springBootPluginVersion}")
// jdbc
compile("org.springframework.boot:spring-boot-starter-jdbc:${springBootPluginVersion}")
// 模板引擎
compile("org.springframework.boot:spring-boot-starter-freemarker:${springBootPluginVersion}")
// 数据库驱动
compile("mysql:mysql-connector-java:${mysqlConnectorVersion}")
// 连接池
compile("com.zaxxer:HikariCP:${hikariCPVersion}")
// 热部署
compile("org.springframework.boot:spring-boot-devtools:${springBootPluginVersion}")
// redis
compile("org.springframework.boot:spring-boot-starter-data-redis:${springBootPluginVersion}")
// commons-lang3
compile("org.apache.commons:commons-lang3:${commonsLangversion}")
// commons-collections
compile("commons-collections:commons-collections:$collectionsVersion")
// lombok
compile("org.projectlombok:lombok:${lombokVersion}")
// Flyway
compile("org.flywaydb:flyway-core:$flywayVersion")
// guava
compile("com.google.guava:guava")
}
test {
useJUnitPlatform()
}