X Tutup
Skip to content

Commit 9e8fb51

Browse files
committed
Update spring boot to version 1.5.9-RELEASE
1 parent 03168e6 commit 9e8fb51

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+398
-534
lines changed

build.gradle

Lines changed: 29 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
apply plugin: 'java'
22
apply plugin: 'idea'
33
apply plugin: 'eclipse'
4-
apply plugin: 'spring-boot'
4+
apply plugin: 'org.springframework.boot'
55

6+
group = 'com.raysmond.blog'
7+
version = '0.0.1-SNAPSHOT'
68
sourceCompatibility = 1.8
7-
targetCompatibility = 1.8
8-
9-
version = '0.1'
109

1110
repositories {
1211
mavenLocal()
@@ -21,37 +20,28 @@ bootRun {
2120
systemProperties = System.properties
2221
}
2322

24-
configurations {
25-
compile.exclude module: "spring-boot-starter-tomcat"
26-
all*.exclude module: 'spring-boot-starter-logging'
23+
buildscript {
24+
ext {
25+
springBootVersion = '1.5.9.RELEASE'
26+
}
27+
repositories {
28+
mavenLocal()
29+
jcenter()
30+
mavenCentral()
31+
}
32+
dependencies {
33+
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
34+
}
2735
}
2836

2937
dependencies {
3038
// spring boot
31-
compile "org.springframework.boot:spring-boot-starter-web:1.4.0.RELEASE"
32-
compile "org.springframework.boot:spring-boot-starter-jetty:1.4.0.RELEASE"
33-
compile "org.springframework.boot:spring-boot-starter-thymeleaf:1.4.0.RELEASE"
39+
compile "org.springframework.boot:spring-boot-starter-web"
40+
compile "org.springframework.boot:spring-boot-starter-thymeleaf"
3441
compile "com.domingosuarez.boot:spring-boot-starter-jade4j:0.3.1"
35-
compile "org.springframework.boot:spring-boot-starter-redis:1.4.0.RELEASE"
36-
compile(group: 'org.springframework.boot', name: 'spring-boot-starter', version:'1.4.0.RELEASE') {
37-
exclude(module: 'spring-boot-starter-logging')
38-
}
39-
compile 'org.springframework.boot:spring-boot-starter-log4j:1.3.7.RELEASE'
40-
compile 'org.springframework.boot:spring-boot-starter-data-jpa:1.4.0.RELEASE'
41-
compile 'org.springframework.boot:spring-boot-starter-security:1.4.0.RELEASE'
42-
43-
// spring framework
44-
compile 'org.springframework:spring-context:4.2.7.RELEASE'
45-
compile 'org.springframework:spring-webmvc:4.2.7.RELEASE'
46-
compile 'org.springframework.security:spring-security-config:3.2.7.RELEASE'
47-
compile 'org.springframework.security:spring-security-web:3.2.7.RELEASE'
48-
49-
//persistence
50-
compile 'com.zaxxer:HikariCP:+'
51-
compile 'org.springframework:spring-orm:4.2.7.RELEASE'
52-
compile 'org.hibernate:hibernate-entitymanager:4.3.11.Final'
53-
compile 'javax.el:javax.el-api:+'
54-
compile 'org.hsqldb:hsqldb:+'
42+
compile "org.springframework.boot:spring-boot-starter-redis:1.4.7.RELEASE"
43+
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
44+
compile 'org.springframework.boot:spring-boot-starter-security'
5545

5646
// view
5747
compile 'de.neuland-bfi:spring-jade4j:0.4.2'
@@ -61,35 +51,21 @@ dependencies {
6151
compile 'org.python:jython-standalone:2.7.0'
6252
compile 'org.pygments:pygments:2.0.2'
6353

64-
// spring data
65-
compile 'org.springframework.data:spring-data-jpa:1.10.0.RELEASE'
66-
67-
// cache
68-
compile 'org.springframework.data:spring-data-redis:1.7.0.RELEASE'
69-
compile 'redis.clients:jedis:2.7.3'
70-
71-
// MySQL
54+
// mysql/hibernate
7255
compile 'mysql:mysql-connector-java:+'
73-
74-
// Validation
75-
compile 'org.hibernate:hibernate-validator:4.3.2.Final'
76-
77-
// Logging
78-
compile 'ch.qos.logback:logback-classic:1.1.3'
79-
compile 'org.slf4j:slf4j-api:+'
80-
compile 'org.apache.commons:commons-lang3:+'
81-
82-
// @Inject
83-
compile 'javax.inject:javax.inject:+'
56+
compile "org.hibernate:hibernate-core:5.2.12.Final"
57+
compile "org.hibernate:hibernate-entitymanager:5.2.12.Final"
58+
compile "org.hibernate:hibernate-validator"
8459

8560
// JSON
8661
compile 'com.fasterxml.jackson.core:jackson-databind:2.4.1.3'
8762
compile 'com.fasterxml.jackson.core:jackson-annotations:2.4.1'
8863

8964
// Utilities
9065
compile 'com.google.guava:guava:+'
91-
compile 'org.modelmapper:modelmapper:0.7.5'
92-
compile 'org.projectlombok:lombok:1.16.6'
66+
compile 'org.modelmapper:modelmapper:+'
67+
compile 'org.projectlombok:lombok:+'
68+
compile 'org.apache.commons:commons-lang3:+'
9369
//compile 'com.qiniu:qiniu-java-sdk:7.0.+'
9470

9571
// static resources, ref. http://www.webjars.org/
@@ -99,34 +75,8 @@ dependencies {
9975
compile 'org.webjars:ace:1.2.0'
10076

10177
// test
102-
testCompile("org.springframework.boot:spring-boot-starter-test:1.4.0.RELEASE")
10378
testCompile 'junit:junit:+'
104-
testCompile 'org.mockito:mockito-core:+'
105-
testCompile 'org.assertj:assertj-core:+'
106-
testCompile 'org.hamcrest:hamcrest-core:+'
107-
testCompile 'org.hamcrest:hamcrest-library:+'
108-
testCompile 'org.objenesis:objenesis:+'
109-
testCompile 'org.springframework:spring-test:+'
110-
79+
testCompile('org.springframework.boot:spring-boot-starter-test')
80+
testCompile('org.springframework.security:spring-security-test')
11181
}
11282

113-
114-
buildscript {
115-
ext {
116-
springBootVersion = '1.2.6.RELEASE'
117-
}
118-
119-
repositories {
120-
mavenLocal()
121-
jcenter()
122-
mavenCentral()
123-
124-
maven { url "http://repo.spring.io/release" }
125-
maven { url "http://repo.spring.io/milestone" }
126-
// maven { url "http://repo.spring.io/snapshot" }
127-
}
128-
129-
dependencies {
130-
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
131-
}
132-
}

gradle/wrapper/gradle-wrapper.jar

1.05 KB
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Sun Sep 27 13:55:48 CST 2015
1+
#Thu Jan 18 22:04:34 CST 2018
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5.1-all.zip

gradlew

Lines changed: 41 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 4 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/com/raysmond/blog/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.raysmond.blog;
22

33
/**
4-
* @author: Raysmond<i@raysmond.com>
4+
* @author: Raysmond
55
*/
66
public final class Constants {
77

0 commit comments

Comments
 (0)
X Tutup