-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.gradle
More file actions
73 lines (59 loc) · 2.46 KB
/
build.gradle
File metadata and controls
73 lines (59 loc) · 2.46 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
group 'com.easy.springboot'
version '1.0-SNAPSHOT'
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
sourceCompatibility = 1.8
repositories {
// mavenCentral()
// jcenter()
maven {
url 'http://maven.aliyun.com/nexus/content/groups/public/'
}
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.3.11'
testCompile group: 'junit', name: 'junit', version: '4.12'
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-freemarker')
// mybatis
compile('org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1')
compile('org.mybatis.generator:mybatis-generator-core:1.3.5')
// mappers
// compile('tk.mybatis:mapper-spring-boot-starter:1.1.0')
// pagehelper
compile('com.github.pagehelper:pagehelper-spring-boot-starter:1.1.0')
compile('mysql:mysql-connector-java:6.0.5')
compile('com.alibaba:druid:1.0.29')
// compile('org.springframework.boot:spring-boot-starter-security')
// compile('org.springframework.security.oauth:spring-security-oauth2')
// https://mvnrepository.com/artifact/io.springfox/springfox-swagger2
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.6.1'
// https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.6.1'
//Group: org.webjars.bower
// https://mvnrepository.com/artifact/org.webjars/webjars-locator
compile group: 'org.webjars', name: 'webjars-locator', version: '0.32'
// 前端的框架要注意引用org.webjars.bower同一个group里面的,防止版本冲突
// https://mvnrepository.com/artifact/org.webjars.bower/jquery
compile group: 'org.webjars.bower', name: 'jquery', version: '3.2.1'
// https://mvnrepository.com/artifact/org.webjars.bower/bootstrap
compile group: 'org.webjars.bower', name: 'bootstrap', version: '4.0.0-alpha.6'
// https://mvnrepository.com/artifact/org.webjars.bower/datatables
compile group: 'org.webjars.bower', name: 'datatables', version: '1.10.15'
}
buildscript {
ext {
springBootVersion = '1.5.2.RELEASE'
}
repositories {
// mavenCentral()
// jcenter()
maven {
url 'http://maven.aliyun.com/nexus/content/groups/public/'
}
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}