forked from Raysmond/SpringBlog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
85 lines (74 loc) · 2.77 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
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
group = 'com.raysmond.blog'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenLocal()
jcenter()
mavenCentral()
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
maven { url 'http://repo.spring.io/libs-release' }
maven { url 'http://repo.springsource.org/repo' }
}
bootRun {
systemProperties = System.properties
}
buildscript {
ext {
springBootVersion = '1.5.10.RELEASE'
}
repositories {
mavenLocal()
jcenter()
mavenCentral()
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
}
dependencies {
classpath('org.springframework.boot:spring-boot-gradle-plugin:1.5.10.RELEASE')
}
}
dependencies {
// spring boot
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-thymeleaf'
compile 'com.domingosuarez.boot:spring-boot-starter-jade4j:0.3.1'
compile 'org.springframework.boot:spring-boot-starter-redis:1.4.7.RELEASE'
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
compile 'org.springframework.boot:spring-boot-starter-security'
compile 'org.springframework.boot:spring-boot-starter-logging'
compile 'org.springframework.boot:spring-boot-devtools'
compile 'org.springframework.boot:spring-boot-starter-actuator'
compile 'org.springframework.boot:spring-boot-starter-cache'
// view
compile 'net.sourceforge.nekohtml:nekohtml:1.9.22'
compile 'org.thymeleaf.extras:thymeleaf-extras-springsecurity4:2+'
compile 'de.neuland-bfi:spring-jade4j:0.4.2'
compile 'org.pegdown:pegdown:1.6.0'
compile 'com.vladsch.flexmark:flexmark-all:0.28.38'
// python
compile 'org.python:jython-standalone:2.7.0'
compile 'org.pygments:pygments:2.0.2'
// mysql/hibernate
compile 'mysql:mysql-connector-java:+'
compile 'org.hibernate:hibernate-core:5.2.12.Final'
compile 'org.hibernate:hibernate-entitymanager:5.2.12.Final'
compile 'org.hibernate:hibernate-validator'
compile 'org.hibernate:hibernate-ehcache:5.2.12.Final'
compile 'com.zaxxer:HikariCP:2.7.6'
compile 'net.sf.ehcache:ehcache'
// 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:+'
compile 'org.projectlombok:lombok:+'
compile 'org.apache.commons:commons-lang3:+'
// test
testCompile 'junit:junit:+'
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile('org.springframework.security:spring-security-test')
}