forked from Raysmond/SpringBlog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
132 lines (105 loc) · 4.01 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'spring-boot'
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = '0.1'
repositories {
mavenLocal()
jcenter()
mavenCentral()
maven { url 'http://repo.spring.io/libs-release' }
maven { url "http://repo.springsource.org/repo" }
}
bootRun {
systemProperties = System.properties
}
configurations {
compile.exclude module: "spring-boot-starter-tomcat"
all*.exclude module: 'spring-boot-starter-logging'
}
dependencies {
// spring boot
compile "org.springframework.boot:spring-boot-starter-web:1.4.0.RELEASE"
compile "org.springframework.boot:spring-boot-starter-jetty:1.4.0.RELEASE"
compile "org.springframework.boot:spring-boot-starter-thymeleaf:1.4.0.RELEASE"
compile "com.domingosuarez.boot:spring-boot-starter-jade4j:0.3.1"
compile "org.springframework.boot:spring-boot-starter-redis:1.4.0.RELEASE"
compile(group: 'org.springframework.boot', name: 'spring-boot-starter', version:'1.4.0.RELEASE') {
exclude(module: 'spring-boot-starter-logging')
}
compile 'org.springframework.boot:spring-boot-starter-log4j:1.3.7.RELEASE'
compile 'org.springframework.boot:spring-boot-starter-data-jpa:1.4.0.RELEASE'
compile 'org.springframework.boot:spring-boot-starter-security:1.4.0.RELEASE'
// spring framework
compile 'org.springframework:spring-context:4.2.7.RELEASE'
compile 'org.springframework:spring-webmvc:4.2.7.RELEASE'
compile 'org.springframework.security:spring-security-config:3.2.7.RELEASE'
compile 'org.springframework.security:spring-security-web:3.2.7.RELEASE'
//persistence
compile 'com.zaxxer:HikariCP:+'
compile 'org.springframework:spring-orm:4.2.7.RELEASE'
compile 'org.hibernate:hibernate-entitymanager:4.3.11.Final'
compile 'javax.el:javax.el-api:+'
compile 'org.hsqldb:hsqldb:+'
// view
compile 'de.neuland-bfi:spring-jade4j:0.4.2'
compile 'org.pegdown:pegdown:1.6.0'
// python
compile 'org.python:jython-standalone:2.7.0'
compile 'org.pygments:pygments:2.0.2'
// spring data
compile 'org.springframework.data:spring-data-jpa:1.10.0.RELEASE'
// cache
compile 'org.springframework.data:spring-data-redis:1.7.0.RELEASE'
compile 'redis.clients:jedis:2.7.3'
// MySQL
compile 'mysql:mysql-connector-java:+'
// Validation
compile 'org.hibernate:hibernate-validator:4.3.2.Final'
// Logging
compile 'ch.qos.logback:logback-classic:1.1.3'
compile 'org.slf4j:slf4j-api:+'
compile 'org.apache.commons:commons-lang3:+'
// @Inject
compile 'javax.inject:javax.inject:+'
// JSON
compile 'com.fasterxml.jackson.core:jackson-databind:2.4.1.3'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.4.1'
// Utilities
compile 'com.google.guava:guava:+'
compile 'org.modelmapper:modelmapper:0.7.5'
compile 'org.projectlombok:lombok:1.16.6'
//compile 'com.qiniu:qiniu-java-sdk:7.0.+'
// static resources, ref. http://www.webjars.org/
compile 'org.webjars:jquery:2.1.4'
compile 'org.webjars:bootstrap:3.3.5'
compile 'org.webjars:font-awesome:4.3.0-3'
compile 'org.webjars:ace:1.2.0'
// test
testCompile("org.springframework.boot:spring-boot-starter-test:1.4.0.RELEASE")
testCompile 'junit:junit:+'
testCompile 'org.mockito:mockito-core:+'
testCompile 'org.assertj:assertj-core:+'
testCompile 'org.hamcrest:hamcrest-core:+'
testCompile 'org.hamcrest:hamcrest-library:+'
testCompile 'org.objenesis:objenesis:+'
testCompile 'org.springframework:spring-test:+'
}
buildscript {
ext {
springBootVersion = '1.2.6.RELEASE'
}
repositories {
mavenLocal()
jcenter()
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:${springBootVersion}"
}
}