Skip to content

Commit 93b6212

Browse files
authored
Merge pull request #17 from wemakebug/master
更新依赖
2 parents 4534661 + 1c9c98b commit 93b6212

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

‎build.gradle‎

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1-
group 'zhangzhihao'
2-
version '1.0-SNAPSHOT'
1+
group "com.github.izhangzhihao"
2+
version "1.0-SNAPSHOT"
33

44
apply plugin: "java"
55
apply plugin: "war"
66

77
sourceCompatibility =1.8
88
targetCompatibility =1.8
9-
def springVersion ="4.3.2.RELEASE"
9+
def springVersion ="4.3.3.RELEASE"
1010
def HibernateVersion ="5.2.2.Final"
11+
def JacksonVersion ="2.8.3"
1112

1213
repositories{
1314
mavenLocal()
1415
maven{url "http://maven.aliyun.com/nexus/content/groups/public/" }
15-
jcenter()
1616
mavenCentral()
17-
maven{url "http://repo.spring.io/release" }
18-
maven{url "https://repo.spring.io/libs-snapshot" }
1917
}
2018

2119
dependencies{
@@ -34,7 +32,7 @@ dependencies{
3432
"org.springframework:spring-orm:${springVersion}",
3533

3634
// MySQL
37-
"mysql:mysql-connector-java:6.0.2",
35+
"mysql:mysql-connector-java:6.0.4",
3836

3937
//servlet
4038
"javax.servlet:javax.servlet-api:3.1.0",
@@ -43,29 +41,26 @@ dependencies{
4341
"commons-fileupload:commons-fileupload:1.3.1",
4442

4543
// JSON
46-
// "com.alibaba:fastjson:1.2.6",
47-
"com.fasterxml.jackson.core:jackson-core:2.7.4",
48-
"com.fasterxml.jackson.core:jackson-databind:2.7.4",
49-
"com.fasterxml.jackson.core:jackson-annotations:2.7.4",
44+
"com.fasterxml.jackson.core:jackson-core:${JacksonVersion}",
45+
"com.fasterxml.jackson.core:jackson-databind:${JacksonVersion}",
46+
"com.fasterxml.jackson.core:jackson-annotations:${JacksonVersion}",
5047

5148

52-
//Hibernate 5.2.0.Final有一个bug
49+
//Hibernate
5350
"org.hibernate:hibernate-core:${HibernateVersion}",
5451
"org.hibernate:hibernate-validator:5.2.4.Final",
5552

56-
//JPA
57-
//"org.hibernate:hibernate-entitymanager:5.1.0.Final",
58-
5953
//C3P0
60-
"c3p0:c3p0:0.9.1.2",
54+
"com.mchange:c3p0:0.9.5.2",
6155
"org.hibernate:hibernate-c3p0:${HibernateVersion}",
6256

6357
//ehcache
64-
"net.sf.ehcache:ehcache-core:2.6.11",
58+
"org.ehcache:ehcache:3.1.2",
6559
"org.hibernate:hibernate-ehcache:${HibernateVersion}",
6660

6761
//jUnit
6862
"junit:junit:4.12",
63+
6964
//@NotNull
7065
"org.jetbrains:annotations:15.0",
7166

0 commit comments

Comments
(0)