forked from hzqiuxm/ziniuhome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
160 lines (137 loc) · 7.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
allprojects{
group = 'org.znxz'
version = '1.0'
}
buildscript {
ext {
springBootVersion = '1.5.1.RELEASE'
springloadedVersion = '1.2.6.RELEASE'
}
repositories {
mavenLocal()
maven{
name 'znxz Maven Repository'
url 'http://www.ziniuxiaozhu.com:8081/nexus/content/groups/public/'
}
mavenCentral()
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath ("org.springframework:springloaded:${springloadedVersion}")
}
}
//Configuring Spring Loaded for use with Gradle and IntelliJ IDEA
//IntelliJ IDEA must be configured to use the same Java version as the command line Gradle
// task and springloaded must be included as a buildscript dependency.
subprojects{
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'idea'
idea {
module {
inheritOutputDirs = false
outputDir = file("$buildDir/classes/main/")
testOutputDir = file("$buildDir/classes/test/")
}
}
// ext {
// slf4jVersion = '1.7.7'
// }
// [compileJava, compileTestJava, javadoc]*.options*.encoding = 'UTF-8'
// springBoot {
// mainClass = "com.controller.AppConfiguration"
// }
repositories {
mavenLocal()
maven{
name 'znxz Maven Repository'
url 'http://www.ziniuxiaozhu.com:8081/nexus/content/groups/public/'
}
mavenCentral()
jcenter()
}
dependencies {
// compile project(':web')
// spring boot
compile("org.springframework.boot:spring-boot-starter-web")
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-thymeleaf
// compile group: 'org.springframework.boot', name: 'spring-boot-starter-thymeleaf', version: '1.5.1.RELEASE'
compile group: 'org.mybatis.spring.boot', name: 'mybatis-spring-boot-starter', version: '1.2.0'
testCompile("org.springframework.boot:spring-boot-starter-test")
// compile group: 'org.mybatis', name: 'mybatis', version: '3.4.2'
// compile group: 'org.mybatis', name: 'mybatis-spring', version: '1.3.1'
compile group: 'com.google.guava', name: 'guava', version: '21.0'
// https://mvnrepository.com/artifact/org.grails/gorm-hibernate5-spring-boot
// compile group: 'org.grails', name: 'gorm-hibernate5-spring-boot', version: '6.0.7.RELEASE'
// https://mvnrepository.com/artifact/org.codehaus.groovy/groovy
compile group: 'org.codehaus.groovy', name: 'groovy', version: '2.4.9'
// https://mvnrepository.com/artifact/org.hibernate/hibernate-core
// compile group: 'org.hibernate', name: 'hibernate-core', version: '5.2.8.Final'
// compile ('org.springframework.boot:spring-boot-starter-aop')
// compile group: 'com.alibaba', name: 'fastjson', version: '1.2.24'
// compile ('org.apache.activemq:activemq-core:5.7.0')
// compile('org.springframework:spring-jms:4.1.6.RELEASE')
// compile('org.apache.activemq:activemq-pool:5.11.1')
// compile group: 'org.springframework', name: 'spring-jms', version: '4.3.5.RELEASE'
// compile group: 'org.apache.activemq', name: 'activemq-client', version: '5.14.3'
// //<!-- Jfinal核心包 -->
// compile group: 'com.jfinal', name: 'jfinal', version: '2.2'
// //<!--支持文件上传功能 -->
// compile group: 'com.jfinal', name: 'cos', version: '26Dec2008'
// //<!-- log4j日志文件 -->
// compile group: 'log4j', name: 'log4j', version: '1.2.17'
// //<!--slf日志包与API包 -->
// compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.21'
// compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.21'
// //<!-- ehcache-core 核心文件 使用格式需要配置ehcache.xml-->
// compile group: 'net.sf.ehcache', name: 'ehcache-core', version: '2.6.11'
//<!-- MYSQL 驱动 -->
compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.38'
// //<!--支持 Druid 数据库连接池 -->
compile group: 'com.alibaba', name: 'druid', version: '1.0.18'
// //<!--数据库连接池-->
compile group: 'c3p0', name: 'c3p0', version: '0.9.1.2'
// //支持业务层 AOP
// compile group: 'cglib', name: 'cglib-nodep', version: '3.2.2'
// //<!-- json解析 Gson json-simple等-->
// compile group: 'com.google.code.gson', name: 'gson', version: '2.6.2'
// compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
// //<!-- Jedis与java集成包 -->
// compile group: 'redis.clients', name: 'jedis', version: '2.8.1'
// //fts包,jedisPlugins非web启动时需要
// compile group:'de.ruedigermoeller',name:'fst',version:'2.43'
// //<!--ActiveMQ -->
// compile group: 'org.springframework', name: 'spring-jms', version: '4.2.6.RELEASE'
// compile group: 'org.apache.activemq', name: 'activemq-pool', version: '5.13.3'
// compile group: 'org.apache.activemq', name: 'activemq-all', version: '5.13.3'
// compile group: 'org.apache.xbean', name: 'xbean-spring', version: '4.5'
// //<!--Lucene -->
// compile group: 'org.apache.lucene', name: 'lucene-core', version: '5.5.0'
// compile group: 'org.apache.lucene', name: 'lucene-analyzers-common', version: '5.5.0'
// compile group: 'org.apache.lucene', name: 'lucene-queryparser', version: '5.5.0'
// compile group: 'org.apache.lucene', name: 'lucene-highlighter', version: '5.5.0'
// compile group: 'org.apache.lucene', name: 'lucene-test-framework', version: '5.5.0'
// //<!-- 日期管理插件-->
// compile group: 'joda-time', name: 'joda-time', version: '2.9.3'
// //<!-- 分页插件 -->
// compile group: 'com.github.pagehelper', name: 'pagehelper', version: '4.1.3'
// //<!-- 谷歌二维码 -->
// compile group: 'com.google.zxing', name: 'javase', version: '3.2.1'
// compile group: 'com.google.zxing', name: 'core', version: '3.2.1'
// //<!-- quartz定时器 -->
// compile group: 'org.quartz-scheduler', name: 'quartz', version: '2.2.3'
// //HTTP客户端
// compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.2'
// //java模拟测试框架
// compile group: 'org.mockito', name: 'mockito-all', version: '1.10.19'
// //jstl模板解析相关,只在紫牛小组老版本过渡时期使用
// compile group: 'javax.servlet', name: 'jstl', version: '1.2'
//单元测试
// testCompile group: 'junit', name: 'junit', version: '4.12'
// testCompile('org.springframework.boot:spring-boot-starter-test')
// testCompile('org.springframework.boot:spring-boot-starter-test')
// https://mvnrepository.com/artifact/de.ruedigermoeller/fst
// compile group: 'de.ruedigermoeller', name: 'fst', version: '2.45'
}
}