1
+ ext {
2
+ // spring libs
3
+ springVersion = ' 5.0.2.RELEASE'
4
+ bootVersion = ' 2.0.0.M7'
5
+ springDataVersion = ' 2.0.2.RELEASE'
6
+ springAmqpVersion = ' 2.0.2.RELEASE'
7
+ springSecurityVersion = ' 5.0.0.RELEASE'
8
+ springBatchVersion = ' 4.0.0.RELEASE'
9
+ springIntegrationVersion = ' 5.0.0.RELEASE'
10
+ springBatchIntegrationVersion = ' 4.0.0.RELEASE'
11
+
12
+ // logging libs
13
+ slf4jVersion = ' 1.7.25'
14
+ logbackVersion = ' 1.2.3'
15
+
16
+ groovyVersion = ' 2.4.5'
17
+ guavaVersion = ' 21.0'
18
+
19
+ aspectjVersion = ' 1.9.0.BETA-5'
20
+ derbyVersion = ' 10.13.1.1'
21
+ dbcpVersion = ' 2.1'
22
+ mysqlVersion = ' 6.0.6'
23
+ h2Version = ' 1.4.194'
24
+ jodaVersion = ' 2.9.9'
25
+ utVersion = ' 6.0.1.GA'
26
+ javaxValidationVersion = ' 2.0.0.Beta2'
27
+ javaElVersion = ' 3.0.1-b04'
28
+ glasshfishELVersion = ' 2.2.1-b05'
29
+ jmsVersion = ' 2.0'
30
+ artemisVersion = ' 2.1.0'
31
+ hornetqVersion = ' 2.4.0.Final'
32
+ castorVersion = ' 1.4.1'
33
+ jacksonVersion = ' 2.9.0'
34
+ httpclientVersion = ' 4.5.3'
35
+ poiVersion = ' 3.16'
36
+ tilesVersion = ' 3.0.7'
37
+ bootstrapVersion = ' 3.3.7-1'
38
+ thymeSecurityVersion = ' 3.0.2.RELEASE'
39
+ jQueryVersion = ' 3.2.1'
40
+ twsVersion = ' 9.0.0.M22'
41
+
42
+ // persistency libraries
43
+ hibernateVersion = ' 5.2.10.Final'
44
+ hibernateJpaVersion = ' 1.0.0.Final'
45
+ hibernateValidatorVersion = ' 5.4.1.Final' // 6.0.0.Beta2
46
+ atomikosVersion = ' 4.0.4'
47
+
48
+ // testing libs
49
+ mockitoVersion = ' 2.0.2-beta'
50
+ junitVersion = ' 4.12'
51
+ hamcrestVersion = ' 1.3'
52
+ dbunitVersion = ' 2.5.3'
53
+ junit5Version = ' 5.0.0-M4'
54
+
55
+ spring = [
56
+ context : " org.springframework:spring-context:$springVersion " ,
57
+ webmvc : " org.springframework:spring-webmvc:$springVersion " ,
58
+ aop : " org.springframework:spring-aop:$springVersion " ,
59
+ aspects : " org.springframework:spring-aspects:$springVersion " ,
60
+ tx : " org.springframework:spring-tx:$springVersion " ,
61
+ jdbc : " org.springframework:spring-jdbc:$springVersion " ,
62
+ contextSupport : " org.springframework:spring-context-support:$springVersion " ,
63
+ orm : " org.springframework:spring-orm:$springVersion " ,
64
+ data : " org.springframework.data:spring-data-jpa:$springDataVersion " ,
65
+ test : " org.springframework:spring-test:$springVersion " ,
66
+ jms : " org.springframework:spring-jms:$springVersion " ,
67
+ oxm : " org.springframework:spring-oxm:$springVersion " ,
68
+ securityWeb : " org.springframework.security:spring-security-web:$springSecurityVersion " ,
69
+ securityConfig : " org.springframework.security:spring-security-config:$springSecurityVersion " ,
70
+ securityTaglibs : " org.springframework.security:spring-security-taglibs:$springSecurityVersion " ,
71
+ rabbit : " org.springframework.amqp:spring-rabbit:$springAmqpVersion " ,
72
+ springSecurityTest : " org.springframework.security:spring-security-test:$springSecurityVersion " ,
73
+ webSocket : " org.springframework:spring-websocket:$springVersion " ,
74
+ messaging : " org.springframework:spring-messaging:$springVersion " ,
75
+ batchCore : " org.springframework.batch:spring-batch-core:$springBatchVersion " ,
76
+ batchIntegration : " org.springframework.batch:spring-batch-integration:$springBatchIntegrationVersion " ,
77
+ integrationFile : " org.springframework.integration:spring-integration-file:$springIntegrationVersion " ,
78
+ webflux : " org.springframework:spring-webflux:$springVersion "
79
+
80
+ ]
81
+
82
+ hibernate = [
83
+ validator : " org.hibernate:hibernate-validator:$hibernateValidatorVersion " ,
84
+ jpaModelGen : " org.hibernate:hibernate-jpamodelgen:$hibernateVersion " ,
85
+ ehcache : " org.hibernate:hibernate-ehcache:$hibernateVersion " ,
86
+ em : " org.hibernate:hibernate-entitymanager:$hibernateVersion " ,
87
+ envers : " org.hibernate:hibernate-envers:$hibernateVersion " ,
88
+ jpaApi : " org.hibernate.javax.persistence:hibernate-jpa-2.1-api:$hibernateJpaVersion " ,
89
+ querydslapt : " com.mysema.querydsl:querydsl-apt:2.7.1" ,
90
+ tx : " com.atomikos:transactions-hibernate4:$atomikosVersion "
91
+ ]
92
+
93
+
94
+ boot = [
95
+ springBootPlugin : " org.springframework.boot:spring-boot-gradle-plugin:$bootVersion " ,
96
+ starter : " org.springframework.boot:spring-boot-starter:$bootVersion " ,
97
+ starterWeb : " org.springframework.boot:spring-boot-starter-web:$bootVersion " ,
98
+ actuator : " org.springframework.boot:spring-boot-starter-actuator:$bootVersion " ,
99
+ starterTest : " org.springframework.boot:spring-boot-starter-test:$bootVersion " ,
100
+ starterAop : " org.springframework.boot:spring-boot-starter-aop:$bootVersion " ,
101
+ starterJdbc : " org.springframework.boot:spring-boot-starter-jdbc:$bootVersion " ,
102
+ starterJpa : " org.springframework.boot:spring-boot-starter-data-jpa:$bootVersion " ,
103
+ starterJta : " org.springframework.boot:spring-boot-starter-jta-atomikos:$bootVersion " ,
104
+ starterJms : " org.springframework.boot:spring-boot-starter-artemis:$bootVersion " ,
105
+ starterRabbitmq : " org.springframework.boot:spring-boot-starter-amqp:$bootVersion " ,
106
+ starterThyme : " org.springframework.boot:spring-boot-starter-thymeleaf:$bootVersion " ,
107
+ starterSecurity : " org.springframework.boot:spring-boot-starter-security:$bootVersion " ,
108
+ starterBatch : " org.springframework.boot:spring-boot-starter-batch:$bootVersion " ,
109
+ starterWebflux : " org.springframework.boot:spring-boot-starter-webflux:$bootVersion "
110
+
111
+ ]
112
+
113
+ testing = [
114
+ junit : " junit:junit:$junitVersion " ,
115
+ junit5Engine : " org.junit.jupiter:junit-jupiter-engine:$junit5Version " ,
116
+ junit5Runner : " org.junit.platform:junit-platform-runner:1.0.0-M4" ,
117
+ mockito : " org.mockito:mockito-all:$mockitoVersion " ,
118
+ easymock : " org.easymock:easymock:3.4" ,
119
+ jmock : " org.jmock:jmock:2.8.2" ,
120
+ hamcrestCore : " org.hamcrest:hamcrest-core:$hamcrestVersion " ,
121
+ hamcrestLib : " org.hamcrest:hamcrest-library:$hamcrestVersion " ,
122
+ dbunit : " org.dbunit:dbunit:$dbunitVersion "
123
+ ]
124
+
125
+
126
+ misc = [
127
+ slf4jJcl : " org.slf4j:jcl-over-slf4j:$slf4jVersion " ,
128
+ logback : " ch.qos.logback:logback-classic:$logbackVersion " ,
129
+ groovy : " org.codehaus.groovy:groovy-all:$groovyVersion " ,
130
+ inject : " javax.inject:javax.inject:1" ,
131
+ validation : " javax.validation:validation-api:$javaxValidationVersion " ,
132
+ aspectjweaver : " org.aspectj:aspectjweaver:$aspectjVersion " ,
133
+ aspectjrt : " org.aspectj:aspectjrt:$aspectjVersion " ,
134
+ lang3 : " org.apache.commons:commons-lang3:3.5" ,
135
+ guava : " com.google.guava:guava:$guavaVersion " ,
136
+ joda : " joda-time:joda-time:$jodaVersion " ,
137
+ usertype : " org.jadira.usertype:usertype.core:$utVersion " ,
138
+ artemis : " org.apache.activemq:artemis-jms-server:2.1.0" ,
139
+ javaEl : " javax.el:javax.el-api:$javaElVersion " ,
140
+ glassfishEl : " org.glassfish.web:el-impl:$glasshfishELVersion " ,
141
+ jms : " javax.jms:javax.jms-api:$jmsVersion " ,
142
+ artemisClient : " org.apache.activemq:artemis-jms-client:$artemisVersion " ,
143
+ artemisServer : " org.apache.activemq:artemis-jms-server:$artemisVersion " ,
144
+ hornetq : " org.hornetq:hornetq-jms-client:$hornetqVersion " ,
145
+ castor : " org.codehaus.castor:castor-xml:$castorVersion " ,
146
+ jacksonDatabind : " com.fasterxml.jackson.core:jackson-databind:$jacksonVersion " ,
147
+ poi : " org.apache.poi:poi:$poiVersion " ,
148
+ io : " commons-io:commons-io:2.5" ,
149
+ ]
150
+
151
+ web = [
152
+ tiles : " org.apache.tiles:tiles-jsp:$tilesVersion " ,
153
+ jstl : " jstl:jstl:1.2" ,
154
+ bootstrap : " org.webjars:bootstrap:$bootstrapVersion " ,
155
+ jQuery : " org.webjars:jquery:$jQueryVersion " ,
156
+ thymeSecurity : " org.thymeleaf.extras:thymeleaf-extras-springsecurity4:$thymeSecurityVersion " ,
157
+ tomcatWsApi : " org.apache.tomcat:tomcat-websocket-api:$twsVersion " ,
158
+ tomcatWsEmbed : " org.apache.tomcat.embed:tomcat-embed-websocket:$twsVersion " ,
159
+ httpclient : " org.apache.httpcomponents:httpclient:$httpclientVersion " ,
160
+ websocket : " javax.websocket:javax.websocket-api:1.1" ,
161
+ servlet : " javax.servlet:javax.servlet-api:3.1.0" ,
162
+ ]
163
+
164
+ react = [
165
+ projReactorIpc : " io.projectreactor.ipc:reactor-netty:0.7.0.M1" ,
166
+ tomcatEmbedded : " org.apache.tomcat.embed:tomcat-embed-core:9.0.0.M25" ,
167
+ ]
168
+
169
+ db = [
170
+ mysql : " mysql:mysql-connector-java:$mysqlVersion " ,
171
+ derby : " org.apache.derby:derby:$derbyVersion " ,
172
+ dbcp2 : " org.apache.commons:commons-dbcp2:$dbcpVersion " ,
173
+ dbcp : " commons-dbcp:commons-dbcp:1.4" ,
174
+ h2 : " com.h2database:h2:$h2Version " ,
175
+ hsqldb : " org.hsqldb:hsqldb:2.4.0"
176
+ ]
177
+ }
178
+
179
+ subprojects {
180
+ version ' 1.0.0'
181
+
182
+ repositories {
183
+ mavenLocal()
184
+ mavenCentral()
185
+ maven { url " http://repo.spring.io/release" }
186
+ maven { url " http://repo.spring.io/snapshot" }
187
+ maven { url " https://repo.spring.io/libs-snapshot" }
188
+ maven { url " http://repo.spring.io/milestone" }
189
+ maven { url " https://repo.spring.io/libs-milestone" }
190
+ }
191
+ }
192
+
193
+ tasks. withType(JavaCompile ) {
194
+ options. encoding = " UTF-8"
195
+ }
196
+
197
+ task wrapper (type : Wrapper ) {
198
+ gradleVersion = ' 4.0'
199
+ }
0 commit comments