-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
103 lines (84 loc) · 3.47 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
group 'com.hubu'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'war'
sourceCompatibility = 1.8
repositories {
jcenter()
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
dependencies {
providedCompile (
// 'javaee:javaee-api:5',//删除该依赖后,测试类正常运行
'org.apache.tomcat:servlet-api:6.0.53',
'javax.servlet:jstl:1.1.2',
'taglibs:standard:1.1.2'
)
compile(
//spring
'org.springframework:spring-aop:4.3.7.RELEASE',
'org.springframework:spring-beans:4.3.7.RELEASE',
'org.springframework:spring-context:4.3.7.RELEASE',
'org.springframework:spring-core:4.3.7.RELEASE',
'org.springframework:spring-orm:4.3.7.RELEASE',
'org.springframework:spring-expression:4.3.7.RELEASE',
'org.springframework:spring-web:4.3.7.RELEASE',
'org.springframework:spring-webmvc:4.3.7.RELEASE',
'org.springframework:spring-tx:4.3.7.RELEASE',
'org.springframework:spring-jdbc:4.3.7.RELEASE',
'org.springframework:spring-test:4.3.7.RELEASE',
//mysql
'mysql:mysql-connector-java:5.1.5',
'c3p0:c3p0:0.9.1.2',
//commons
'commons-logging:commons-logging:1.2',
'commons-dbcp:commons-dbcp:20030825.184428',
'commons-lang:commons-lang:20030203.000129',
'commons-fileupload:commons-fileupload:1.3.2',
'commons-io:commons-io:2.5',
//log4j
'log4j:log4j:1.2.17',
'org.slf4j:slf4j-api:1.8.0-alpha2',
'org.slf4j:slf4j-log4j12:1.8.0-alpha2',
'org.codehaus.jackson:jackson-core-lgpl:1.9.13',
'org.codehaus.jackson:jackson-mapper-lgpl:1.9.13'
)
//gson
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.0'
//mybatis-plus
compile group: 'com.baomidou', name: 'mybatis-plus', version: '2.1.6'
// https://mvnrepository.com/artifact/org.apache.velocity/velocity-engine-core
compile group: 'org.apache.velocity', name: 'velocity-engine-core', version: '2.0'
//aop所需包
//aop
compile group: 'org.aspectj', name: 'aspectjweaver', version: '1.8.10'
compile group: 'aopalliance', name: 'aopalliance', version: '1.0'
//整合shiro所需jar包
compile 'org.apache.shiro:shiro-core:1.4.0'
compile 'org.apache.shiro:shiro-web:1.4.0'
compile 'org.apache.shiro:shiro-spring:1.4.0'
compile group: 'org.apache.shiro', name: 'shiro-ehcache', version: '1.4.0'
compile group: 'org.apache.shiro', name: 'shiro-quartz', version: '1.4.0'
//用于shiro缓存
compile group: 'net.sf.ehcache', name: 'ehcache-core', version: '2.6.10'
//jedis依赖
compile 'redis.clients:jedis:2.9.0'
// quartz
// compile group: 'org.quartz-scheduler', name: 'quartz', version: '2.2.2'
//spring-context-support
compile group: 'org.springframework', name: 'spring-context-support', version: '4.3.7.RELEASE'
//valid注解
// compile 'javax.validation:validation-api:2.0.0.Beta2'
runtime(
"jstl:jstl:1.2"
)
//test
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile "org.springframework:spring-test:4.3.7.RELEASE"
//solrJ
compile group: 'org.apache.solr', name: 'solr-solrj', version: '7.1.0'
//数据验证
compile group: 'org.hibernate.validator', name: 'hibernate-validator', version: '6.0.4.Final'
}