| 
									
										
										
										
											2016-01-06 00:16:39 +08:00
										 |  |  | plugins { | 
					
						
							| 
									
										
										
										
											2020-04-29 21:22:25 +08:00
										 |  |  | 	id 'io.spring.dependency-management' version '1.0.9.RELEASE' apply false | 
					
						
							| 
									
										
										
										
											2020-09-01 00:01:22 +08:00
										 |  |  | 	id 'io.spring.nohttp' version '0.0.5.RELEASE' | 
					
						
							| 
									
										
										
										
											2020-09-16 20:11:45 +08:00
										 |  |  | 	id 'org.jetbrains.kotlin.jvm' version '1.4.10' apply false | 
					
						
							| 
									
										
										
										
											2020-03-23 19:58:39 +08:00
										 |  |  | 	id 'org.jetbrains.dokka' version '0.10.1' apply false | 
					
						
							| 
									
										
										
										
											2019-12-16 17:03:40 +08:00
										 |  |  | 	id 'org.asciidoctor.jvm.convert' version '2.4.0' | 
					
						
							| 
									
										
										
										
											2020-09-18 23:58:25 +08:00
										 |  |  | 	id 'org.asciidoctor.jvm.pdf' version '2.4.0' | 
					
						
							| 
									
										
										
										
											2020-09-01 00:01:22 +08:00
										 |  |  | 	id 'de.undercouch.download' version '4.1.1' | 
					
						
							| 
									
										
										
										
											2020-09-01 00:07:04 +08:00
										 |  |  | 	id "io.freefair.aspectj" version '5.1.1' apply false | 
					
						
							| 
									
										
										
										
											2020-04-29 21:22:25 +08:00
										 |  |  | 	id "com.github.ben-manes.versions" version '0.28.0' | 
					
						
							| 
									
										
										
										
											2020-05-14 03:29:02 +08:00
										 |  |  | 	id "me.champeau.gradle.jmh" version "0.5.0" apply false | 
					
						
							| 
									
										
										
										
											2020-09-16 20:11:45 +08:00
										 |  |  | 	id "org.jetbrains.kotlin.plugin.serialization" version "1.4.10" apply false | 
					
						
							| 
									
										
										
										
											2017-08-21 20:29:49 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-04-10 17:22:14 +08:00
										 |  |  | ext { | 
					
						
							| 
									
										
										
										
											2019-08-21 20:28:42 +08:00
										 |  |  | 	moduleProjects = subprojects.findAll { it.name.startsWith("spring-") } | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 	javaProjects = subprojects - project(":framework-bom") | 
					
						
							| 
									
										
										
										
											2019-06-22 22:49:40 +08:00
										 |  |  | 	withoutJclOverSlf4j = { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 		exclude group: "org.slf4j", name: "jcl-over-slf4j" | 
					
						
							| 
									
										
										
										
											2018-06-11 21:33:05 +08:00
										 |  |  | 	} | 
					
						
							| 
									
										
										
										
											2014-04-10 17:22:14 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-09-03 02:08:34 +08:00
										 |  |  | configure(allprojects) { project -> | 
					
						
							| 
									
										
										
										
											2018-08-16 21:32:44 +08:00
										 |  |  | 	apply plugin: "io.spring.dependency-management" | 
					
						
							| 
									
										
										
										
											2011-12-15 08:56:31 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-06-11 21:33:05 +08:00
										 |  |  | 	dependencyManagement { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 		imports { | 
					
						
							| 
									
										
										
										
											2020-08-04 02:25:19 +08:00
										 |  |  | 			mavenBom "com.fasterxml.jackson:jackson-bom:2.11.2" | 
					
						
							| 
									
										
										
										
											2020-09-15 18:45:22 +08:00
										 |  |  | 			mavenBom "io.netty:netty-bom:4.1.52.Final" | 
					
						
							| 
									
										
										
										
											2020-09-15 03:11:27 +08:00
										 |  |  | 			mavenBom "io.projectreactor:reactor-bom:2020.0.0-RC1" | 
					
						
							| 
									
										
										
										
											2020-09-15 04:59:46 +08:00
										 |  |  | 			mavenBom "io.r2dbc:r2dbc-bom:Arabba-SR7" | 
					
						
							| 
									
										
										
										
											2020-09-15 03:11:27 +08:00
										 |  |  | 			mavenBom "io.rsocket:rsocket-bom:1.1.0-M2" | 
					
						
							| 
									
										
										
										
											2020-08-04 02:25:19 +08:00
										 |  |  | 			mavenBom "org.eclipse.jetty:jetty-bom:9.4.31.v20200723" | 
					
						
							| 
									
										
										
										
											2020-09-16 20:11:45 +08:00
										 |  |  | 			mavenBom "org.jetbrains.kotlin:kotlin-bom:1.4.10" | 
					
						
							| 
									
										
										
										
											2020-08-20 17:12:22 +08:00
										 |  |  | 			mavenBom "org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.3.9" | 
					
						
							| 
									
										
										
										
											2020-09-14 05:34:44 +08:00
										 |  |  | 			mavenBom "org.junit:junit-bom:5.7.0" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 		} | 
					
						
							|  |  |  | 		dependencies { | 
					
						
							| 
									
										
										
										
											2020-05-19 02:09:37 +08:00
										 |  |  | 			dependencySet(group: 'org.apache.logging.log4j', version: '2.13.3') { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				entry 'log4j-api' | 
					
						
							|  |  |  | 				entry 'log4j-core' | 
					
						
							|  |  |  | 				entry 'log4j-slf4j-impl' | 
					
						
							|  |  |  | 				entry 'log4j-jul' | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2020-01-10 00:03:30 +08:00
										 |  |  | 			dependency "org.slf4j:slf4j-api:1.7.30" | 
					
						
							| 
									
										
										
										
											2020-06-11 00:25:31 +08:00
										 |  |  | 			dependency("com.google.code.findbugs:findbugs:3.0.1") { | 
					
						
							|  |  |  | 				exclude group: "dom4j", name: "dom4j" | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			dependency "com.google.code.findbugs:jsr305:3.0.2" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-11 01:05:59 +08:00
										 |  |  | 			dependencySet(group: 'org.aspectj', version: '1.9.6') { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				entry 'aspectjrt' | 
					
						
							|  |  |  | 				entry 'aspectjtools' | 
					
						
							|  |  |  | 				entry 'aspectjweaver' | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2020-08-04 02:25:19 +08:00
										 |  |  | 			dependencySet(group: 'org.codehaus.groovy', version: '3.0.5') { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				entry 'groovy' | 
					
						
							|  |  |  | 				entry 'groovy-jsr223' | 
					
						
							| 
									
										
										
										
											2020-04-28 20:00:24 +08:00
										 |  |  | 				entry 'groovy-templates'  // requires findbugs for warning-free compilation
 | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				entry 'groovy-test' | 
					
						
							|  |  |  | 				entry 'groovy-xml' | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			dependency "io.reactivex:rxjava:1.3.8" | 
					
						
							|  |  |  | 			dependency "io.reactivex:rxjava-reactive-streams:1.2.1" | 
					
						
							| 
									
										
										
										
											2020-03-14 06:15:07 +08:00
										 |  |  | 			dependency "io.reactivex.rxjava2:rxjava:2.2.19" | 
					
						
							| 
									
										
										
										
											2020-08-25 22:26:57 +08:00
										 |  |  | 			dependency "io.reactivex.rxjava3:rxjava:3.0.6" | 
					
						
							| 
									
										
										
										
											2020-02-25 01:00:06 +08:00
										 |  |  | 			dependency "io.projectreactor.tools:blockhound:1.0.2.RELEASE" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-17 23:49:24 +08:00
										 |  |  | 			dependency "com.caucho:hessian:4.0.63" | 
					
						
							| 
									
										
										
										
											2019-09-26 05:49:15 +08:00
										 |  |  | 			dependency "com.fasterxml:aalto-xml:1.2.2" | 
					
						
							| 
									
										
										
										
											2020-09-08 23:09:13 +08:00
										 |  |  | 			dependency("com.fasterxml.woodstox:woodstox-core:6.2.1") { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				exclude group: "stax", name: "stax-api" | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
											
												Latest dependency updates (Tomcat 9.0.27, Undertow 2.0.27, RxJava 2.2.13, Gson 2.8.6, Apache Johnzon 1.2.1, Hibernate ORM 5.4.8, EclipseLink 2.7.5, H2 1.4.200, POI 4.1.1, Quartz 2.3.2, WebJars Locator 0.42, HtmlUnit 2.36, Checkstyle 8.26, Mockito 3.1, Objenesis 3.1)
											
										 
											2019-10-30 07:26:45 +08:00
										 |  |  | 			dependency "com.google.code.gson:gson:2.8.6" | 
					
						
							| 
									
										
										
										
											2020-08-27 23:49:14 +08:00
										 |  |  | 			dependency "com.google.protobuf:protobuf-java-util:3.13.0" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			dependency "com.googlecode.protobuf-java-format:protobuf-java-format:1.4" | 
					
						
							| 
									
										
										
										
											2020-09-08 23:17:20 +08:00
										 |  |  | 			dependency("com.thoughtworks.xstream:xstream:1.4.13") { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				exclude group: "xpp3", name: "xpp3_min" | 
					
						
							|  |  |  | 				exclude group: "xmlpull", name: "xmlpull" | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2020-07-17 23:49:24 +08:00
										 |  |  | 			dependency "org.apache.johnzon:johnzon-jsonb:1.2.8" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			dependency("org.codehaus.jettison:jettison:1.3.8") { | 
					
						
							|  |  |  | 				exclude group: "stax", name: "stax-api" | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2020-02-06 01:21:03 +08:00
										 |  |  | 			dependencySet(group: 'org.jibx', version: '1.3.3') { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				entry 'jibx-bind' | 
					
						
							|  |  |  | 				entry 'jibx-run' | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 			dependency "org.ogce:xpp3:1.1.6" | 
					
						
							| 
									
										
										
											
												Upgrade to Kotlin 1.3.70
Includes latest dependency updates (Netty 4.1.47, Jetty 9.4.27, Jackson 2.10.3, Log4J 2.13.1, SnakeYAML 1.26, Vavr 0.10.2, Commons Pool 2.8, POI 4.1.2, OkHttp 3.14.7, Jetty Reactive HttpClient 1.1.2, JRuby 9.2.11, AssertJ 3.15)
											
										 
											2020-03-11 21:56:41 +08:00
										 |  |  | 			dependency "org.yaml:snakeyaml:1.26" | 
					
						
							| 
									
										
										
										
											2020-01-27 20:59:16 +08:00
										 |  |  | 			dependencySet(group: 'org.jetbrains.kotlinx', version: '1.0.0-RC') { | 
					
						
							|  |  |  | 				entry 'kotlinx-serialization-core' | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
											
												Latest dependency updates (Tomcat 9.0.27, Undertow 2.0.27, RxJava 2.2.13, Gson 2.8.6, Apache Johnzon 1.2.1, Hibernate ORM 5.4.8, EclipseLink 2.7.5, H2 1.4.200, POI 4.1.1, Quartz 2.3.2, WebJars Locator 0.42, HtmlUnit 2.36, Checkstyle 8.26, Mockito 3.1, Objenesis 3.1)
											
										 
											2019-10-30 07:26:45 +08:00
										 |  |  | 			dependency "com.h2database:h2:1.4.200" | 
					
						
							| 
									
										
										
										
											2020-07-17 23:49:24 +08:00
										 |  |  | 			dependency "com.github.ben-manes.caffeine:caffeine:2.8.5" | 
					
						
							|  |  |  | 			dependency "com.github.librepdf:openpdf:1.3.20" | 
					
						
							| 
									
										
										
										
											2020-07-18 01:33:32 +08:00
										 |  |  | 			dependency "com.rometools:rome:1.15.0" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			dependency "commons-io:commons-io:2.5" | 
					
						
							| 
									
										
										
										
											2020-05-19 02:09:37 +08:00
										 |  |  | 			dependency "io.vavr:vavr:0.10.3" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			dependency "net.sf.jopt-simple:jopt-simple:5.0.4" | 
					
						
							| 
									
										
										
										
											2020-08-08 17:44:16 +08:00
										 |  |  | 			dependencySet(group: 'org.apache.activemq', version: '5.16.0') { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				entry 'activemq-broker' | 
					
						
							|  |  |  | 				entry('activemq-kahadb-store') { | 
					
						
							|  |  |  | 					exclude group: "org.springframework", name: "spring-context" | 
					
						
							|  |  |  | 				} | 
					
						
							|  |  |  | 				entry 'activemq-stomp' | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 			dependency "org.apache.bcel:bcel:6.0" | 
					
						
							| 
									
										
										
											
												Upgrade to Kotlin 1.3.70
Includes latest dependency updates (Netty 4.1.47, Jetty 9.4.27, Jackson 2.10.3, Log4J 2.13.1, SnakeYAML 1.26, Vavr 0.10.2, Commons Pool 2.8, POI 4.1.2, OkHttp 3.14.7, Jetty Reactive HttpClient 1.1.2, JRuby 9.2.11, AssertJ 3.15)
											
										 
											2020-03-11 21:56:41 +08:00
										 |  |  | 			dependency "org.apache.commons:commons-pool2:2.8.0" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			dependencySet(group: 'org.apache.derby', version: '10.14.2.0') { | 
					
						
							|  |  |  | 				entry 'derby' | 
					
						
							|  |  |  | 				entry 'derbyclient' | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
											
												Upgrade to Kotlin 1.3.70
Includes latest dependency updates (Netty 4.1.47, Jetty 9.4.27, Jackson 2.10.3, Log4J 2.13.1, SnakeYAML 1.26, Vavr 0.10.2, Commons Pool 2.8, POI 4.1.2, OkHttp 3.14.7, Jetty Reactive HttpClient 1.1.2, JRuby 9.2.11, AssertJ 3.15)
											
										 
											2020-03-11 21:56:41 +08:00
										 |  |  | 			dependency "org.apache.poi:poi-ooxml:4.1.2" | 
					
						
							| 
									
										
										
										
											2020-04-08 00:06:43 +08:00
										 |  |  | 			dependency "org.apache-extras.beanshell:bsh:2.0b6" | 
					
						
							| 
									
										
										
										
											2020-03-31 01:04:06 +08:00
										 |  |  | 			dependency "org.freemarker:freemarker:2.3.30" | 
					
						
							| 
									
										
										
										
											2020-08-04 02:25:19 +08:00
										 |  |  | 			dependency "org.hsqldb:hsqldb:2.5.1" | 
					
						
							| 
									
										
										
											
												Latest dependency updates (Tomcat 9.0.27, Undertow 2.0.27, RxJava 2.2.13, Gson 2.8.6, Apache Johnzon 1.2.1, Hibernate ORM 5.4.8, EclipseLink 2.7.5, H2 1.4.200, POI 4.1.1, Quartz 2.3.2, WebJars Locator 0.42, HtmlUnit 2.36, Checkstyle 8.26, Mockito 3.1, Objenesis 3.1)
											
										 
											2019-10-30 07:26:45 +08:00
										 |  |  | 			dependency "org.quartz-scheduler:quartz:2.3.2" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			dependency "org.codehaus.fabric3.api:commonj:1.1.0" | 
					
						
							| 
									
										
										
										
											2019-09-03 01:20:36 +08:00
										 |  |  | 			dependency "net.sf.ehcache:ehcache:2.10.6" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			dependency "org.ehcache:jcache:1.0.1" | 
					
						
							|  |  |  | 			dependency "org.ehcache:ehcache:3.4.0" | 
					
						
							| 
									
										
										
										
											2020-08-27 23:29:06 +08:00
										 |  |  | 			dependency "org.hibernate:hibernate-core:5.4.21.Final" | 
					
						
							| 
									
										
										
										
											2020-05-14 06:23:50 +08:00
										 |  |  | 			dependency "org.hibernate:hibernate-validator:6.1.5.Final" | 
					
						
							| 
									
										
										
										
											2020-05-22 23:08:02 +08:00
										 |  |  | 			dependency "org.webjars:webjars-locator-core:0.45" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			dependency "org.webjars:underscorejs:1.8.3" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-18 16:23:54 +08:00
										 |  |  | 			dependencySet(group: 'org.apache.tomcat', version: '9.0.38') { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				entry 'tomcat-util' | 
					
						
							|  |  |  | 				entry('tomcat-websocket') { | 
					
						
							|  |  |  | 					exclude group: "org.apache.tomcat", name: "tomcat-websocket-api" | 
					
						
							|  |  |  | 					exclude group: "org.apache.tomcat", name: "tomcat-servlet-api" | 
					
						
							|  |  |  | 				} | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2020-09-18 16:23:54 +08:00
										 |  |  | 			dependencySet(group: 'org.apache.tomcat.embed', version: '9.0.38') { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				entry 'tomcat-embed-core' | 
					
						
							|  |  |  | 				entry 'tomcat-embed-websocket' | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2020-09-15 04:59:46 +08:00
										 |  |  | 			dependencySet(group: 'io.undertow', version: '2.2.0.Final') { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				entry 'undertow-core' | 
					
						
							|  |  |  | 				entry('undertow-websockets-jsr') { | 
					
						
							|  |  |  | 					exclude group: "org.jboss.spec.javax.websocket", name: "jboss-websocket-api_1.1_spec" | 
					
						
							|  |  |  | 				} | 
					
						
							|  |  |  | 				entry('undertow-servlet') { | 
					
						
							|  |  |  | 					exclude group: "org.jboss.spec.javax.servlet", name: "jboss-servlet-api_3.1_spec" | 
					
						
							|  |  |  | 					exclude group: "org.jboss.spec.javax.annotation", name: "jboss-annotations-api_1.2_spec" | 
					
						
							|  |  |  | 				} | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-19 02:09:37 +08:00
										 |  |  | 			dependencySet(group: 'com.squareup.okhttp3', version: '3.14.9') { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				entry 'okhttp' | 
					
						
							|  |  |  | 				entry 'mockwebserver' | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2020-03-31 01:04:06 +08:00
										 |  |  | 			dependency("org.apache.httpcomponents:httpclient:4.5.12") { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				exclude group: "commons-logging", name: "commons-logging" | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 			dependency("org.apache.httpcomponents:httpasyncclient:4.1.4") { | 
					
						
							|  |  |  | 				exclude group: "commons-logging", name: "commons-logging" | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2020-06-23 16:27:50 +08:00
										 |  |  | 			dependency 'org.apache.httpcomponents.client5:httpclient5:5.0.1' | 
					
						
							|  |  |  | 			dependency 'org.apache.httpcomponents.core5:httpcore5-reactive:5.0.1' | 
					
						
							| 
									
										
										
										
											2020-07-20 22:47:52 +08:00
										 |  |  | 			dependency "org.eclipse.jetty:jetty-reactive-httpclient:1.1.4" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-27 23:49:14 +08:00
										 |  |  | 			dependency "org.jruby:jruby:9.2.13.0" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			dependency "org.python:jython-standalone:2.7.1" | 
					
						
							| 
									
										
										
										
											2019-11-08 05:08:52 +08:00
										 |  |  | 			dependency "org.mozilla:rhino:1.7.11" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 			dependency "commons-fileupload:commons-fileupload:1.4" | 
					
						
							|  |  |  | 			dependency "org.synchronoss.cloud:nio-multipart-parser:1.1.0" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-14 18:57:26 +08:00
										 |  |  | 			dependency("org.dom4j:dom4j:2.1.3") { | 
					
						
							|  |  |  | 				exclude group: "jaxen", name: "jaxen" | 
					
						
							|  |  |  | 				exclude group: "net.java.dev.msv", name: "xsdlib" | 
					
						
							|  |  |  | 				exclude group: "pull-parser", name: "pull-parser" | 
					
						
							|  |  |  | 				exclude group: "xpp3", name: "xpp3" | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 			dependency("jaxen:jaxen:1.2.0") { | 
					
						
							|  |  |  | 				exclude group: "dom4j", name: "dom4j" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-04-28 18:04:32 +08:00
										 |  |  | 			dependency("junit:junit:4.13") { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				exclude group: "org.hamcrest", name: "hamcrest-core" | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 			dependency("de.bechte.junit:junit-hierarchicalcontextrunner:4.12.1") { | 
					
						
							|  |  |  | 				exclude group: "junit", name: "junit" | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2020-08-04 02:25:19 +08:00
										 |  |  | 			dependency "org.testng:testng:7.3.0" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			dependency "org.hamcrest:hamcrest:2.1" | 
					
						
							| 
									
										
										
										
											2019-11-08 05:08:52 +08:00
										 |  |  | 			dependency "org.awaitility:awaitility:3.1.6" | 
					
						
							| 
									
										
										
										
											2020-09-08 01:25:46 +08:00
										 |  |  | 			dependency "org.assertj:assertj-core:3.17.2" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			dependencySet(group: 'org.xmlunit', version: '2.6.2') { | 
					
						
							|  |  |  | 				entry 'xmlunit-assertj' | 
					
						
							|  |  |  | 				entry('xmlunit-matchers') { | 
					
						
							|  |  |  | 					exclude group: "org.hamcrest", name: "hamcrest-core" | 
					
						
							|  |  |  | 				} | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2020-09-18 16:23:54 +08:00
										 |  |  | 			dependencySet(group: 'org.mockito', version: '3.5.11') { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				entry('mockito-core') { | 
					
						
							|  |  |  | 					exclude group: "org.hamcrest", name: "hamcrest-core" | 
					
						
							|  |  |  | 				} | 
					
						
							|  |  |  | 				entry 'mockito-junit-jupiter' | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2020-04-26 00:00:34 +08:00
										 |  |  | 			dependency "io.mockk:mockk:1.10.0" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-11 01:05:59 +08:00
										 |  |  | 			dependency("net.sourceforge.htmlunit:htmlunit:2.43.0") { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				exclude group: "commons-logging", name: "commons-logging" | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2020-08-27 23:29:06 +08:00
										 |  |  | 			dependency("org.seleniumhq.selenium:htmlunit-driver:2.43.1") { | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 				exclude group: "commons-logging", name: "commons-logging" | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 			dependency("org.seleniumhq.selenium:selenium-java:3.141.59") { | 
					
						
							|  |  |  | 				exclude group: "commons-logging", name: "commons-logging" | 
					
						
							|  |  |  | 				exclude group: "io.netty", name: "netty" | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 			dependency "org.skyscreamer:jsonassert:1.5.0" | 
					
						
							|  |  |  | 			dependency "com.jayway.jsonpath:json-path:2.4.0" | 
					
						
							| 
									
										
										
										
											2020-08-04 02:25:19 +08:00
										 |  |  | 			dependency "org.bouncycastle:bcpkix-jdk15on:1.66" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 			dependencySet(group: 'org.apache.tiles', version: '3.0.8') { | 
					
						
							|  |  |  | 				entry 'tiles-api' | 
					
						
							|  |  |  | 				entry('tiles-core', withoutJclOverSlf4j) | 
					
						
							|  |  |  | 				entry('tiles-servlet', withoutJclOverSlf4j) | 
					
						
							|  |  |  | 				entry('tiles-jsp', withoutJclOverSlf4j) | 
					
						
							|  |  |  | 				entry('tiles-el', withoutJclOverSlf4j) | 
					
						
							|  |  |  | 				entry('tiles-extras') { | 
					
						
							|  |  |  | 					exclude group: "org.springframework", name: "spring-web" | 
					
						
							|  |  |  | 					exclude group: "org.slf4j", name: "jcl-over-slf4j" | 
					
						
							|  |  |  | 				} | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 			dependency("org.apache.taglibs:taglibs-standard-jstlel:1.2.5") { | 
					
						
							|  |  |  | 				exclude group: "org.apache.taglibs", name: "taglibs-standard-spec" | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			dependency "com.ibm.websphere:uow:6.0.2.17" | 
					
						
							| 
									
										
										
										
											2020-05-19 02:09:37 +08:00
										 |  |  | 			dependency "com.jamonapi:jamon:2.82" | 
					
						
							|  |  |  | 			dependency "joda-time:joda-time:2.10.6" | 
					
						
							| 
									
										
										
										
											2020-05-26 20:20:01 +08:00
										 |  |  | 			dependency "org.eclipse.persistence:org.eclipse.persistence.jpa:2.7.7" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			dependency "org.javamoney:moneta:1.3" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			dependency "com.sun.activation:javax.activation:1.2.0" | 
					
						
							|  |  |  | 			dependency "com.sun.mail:javax.mail:1.6.2" | 
					
						
							|  |  |  | 			dependencySet(group: 'com.sun.xml.bind', version: '2.3.0.1') { | 
					
						
							|  |  |  | 				entry 'jaxb-core' | 
					
						
							|  |  |  | 				entry 'jaxb-impl' | 
					
						
							|  |  |  | 				entry 'jaxb-xjc' | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			dependency "javax.activation:javax.activation-api:1.2.0" | 
					
						
							|  |  |  | 			dependency "javax.annotation:javax.annotation-api:1.3.2" | 
					
						
							|  |  |  | 			dependency "javax.cache:cache-api:1.1.0" | 
					
						
							|  |  |  | 			dependency "javax.ejb:javax.ejb-api:3.2" | 
					
						
							|  |  |  | 			dependency "javax.el:javax.el-api:3.0.1-b04" | 
					
						
							|  |  |  | 			dependency "javax.enterprise.concurrent:javax.enterprise.concurrent-api:1.0" | 
					
						
							|  |  |  | 			dependency "javax.faces:javax.faces-api:2.2" | 
					
						
							|  |  |  | 			dependency "javax.inject:javax.inject:1" | 
					
						
							|  |  |  | 			dependency "javax.inject:javax.inject-tck:1" | 
					
						
							|  |  |  | 			dependency "javax.interceptor:javax.interceptor-api:1.2.2" | 
					
						
							|  |  |  | 			dependency "javax.jms:javax.jms-api:2.0.1" | 
					
						
							|  |  |  | 			dependency "javax.json:javax.json-api:1.1.4" | 
					
						
							|  |  |  | 			dependency "javax.json.bind:javax.json.bind-api:1.0" | 
					
						
							|  |  |  | 			dependency "javax.mail:javax.mail-api:1.6.2" | 
					
						
							|  |  |  | 			dependency "javax.money:money-api:1.0.3" | 
					
						
							|  |  |  | 			dependency "javax.resource:javax.resource-api:1.7.1" | 
					
						
							|  |  |  | 			dependency "javax.servlet:javax.servlet-api:4.0.1" | 
					
						
							|  |  |  | 			dependency "javax.servlet.jsp:javax.servlet.jsp-api:2.3.2-b02" | 
					
						
							|  |  |  | 			dependency "javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api:1.2.1" | 
					
						
							|  |  |  | 			dependency "javax.transaction:javax.transaction-api:1.3" | 
					
						
							|  |  |  | 			dependency "javax.validation:validation-api:2.0.1.Final" | 
					
						
							|  |  |  | 			dependency "javax.websocket:javax.websocket-api:1.1" | 
					
						
							|  |  |  | 			dependency "javax.xml.bind:jaxb-api:2.3.1" | 
					
						
							|  |  |  | 			dependency "javax.xml.ws:jaxws-api:2.3.1" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			dependency "org.eclipse.persistence:javax.persistence:2.2.0" | 
					
						
							| 
									
										
										
										
											2019-09-11 00:12:55 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			// Substitute for "javax.management:jmxremote_optional:1.0.1_04" which
 | 
					
						
							|  |  |  | 			// is not available on Maven Central
 | 
					
						
							|  |  |  | 			dependency "org.glassfish.external:opendmk_jmxremote_optional_jar:1.0-b01-ea" | 
					
						
							|  |  |  | 			dependency "org.glassfish:javax.el:3.0.1-b08" | 
					
						
							|  |  |  | 			dependency "org.glassfish.main:javax.jws:4.0-b33" | 
					
						
							|  |  |  | 			dependency "org.glassfish.tyrus:tyrus-container-servlet:1.13.1" | 
					
						
							| 
									
										
										
										
											2018-06-11 21:33:05 +08:00
										 |  |  | 		} | 
					
						
							|  |  |  | 		generatedPomCustomization { | 
					
						
							|  |  |  | 			enabled = false | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 		resolutionStrategy { | 
					
						
							|  |  |  | 			cacheChangingModulesFor 0, "seconds" | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 		repositories { | 
					
						
							|  |  |  | 			mavenCentral() | 
					
						
							| 
									
										
										
										
											2019-09-19 19:27:49 +08:00
										 |  |  | 			maven { url "https://repo.spring.io/libs-spring-framework-build" } | 
					
						
							| 
									
										
										
										
											2020-09-15 03:11:27 +08:00
										 |  |  | 			maven { url "https://repo.spring.io/milestone" } // Reactor
 | 
					
						
							| 
									
										
										
										
											2019-07-14 01:13:33 +08:00
										 |  |  | 		} | 
					
						
							| 
									
										
										
										
											2018-06-11 21:33:05 +08:00
										 |  |  | 	} | 
					
						
							| 
									
										
										
										
											2019-09-11 00:12:55 +08:00
										 |  |  | 	configurations.all { | 
					
						
							|  |  |  | 		resolutionStrategy { | 
					
						
							|  |  |  | 			cacheChangingModulesFor 0, "seconds" | 
					
						
							|  |  |  | 			cacheDynamicVersionsFor 0, "seconds" | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2018-06-11 21:33:05 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | configure([rootProject] + javaProjects) { project -> | 
					
						
							|  |  |  | 	group = "org.springframework" | 
					
						
							| 
									
										
										
										
											2018-01-23 23:42:41 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 	apply plugin: "java" | 
					
						
							| 
									
										
										
										
											2019-12-28 18:44:40 +08:00
										 |  |  | 	apply plugin: "java-test-fixtures" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 	apply plugin: "checkstyle" | 
					
						
							|  |  |  | 	apply plugin: 'org.springframework.build.compile' | 
					
						
							| 
									
										
										
										
											2020-02-05 22:11:59 +08:00
										 |  |  | 	apply from: "${rootDir}/gradle/custom-java-home.gradle" | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 	apply from: "${rootDir}/gradle/ide.gradle" | 
					
						
							| 
									
										
										
										
											2016-07-14 05:38:47 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-21 02:26:43 +08:00
										 |  |  | 	pluginManager.withPlugin("kotlin") { | 
					
						
							|  |  |  | 		apply plugin: "org.jetbrains.dokka" | 
					
						
							|  |  |  | 		compileKotlin { | 
					
						
							|  |  |  | 			kotlinOptions { | 
					
						
							|  |  |  | 				jvmTarget = "1.8" | 
					
						
							| 
									
										
										
										
											2020-07-30 16:18:27 +08:00
										 |  |  | 				languageVersion = "1.3" | 
					
						
							|  |  |  | 				apiVersion = "1.3" | 
					
						
							| 
									
										
										
										
											2019-08-21 02:26:43 +08:00
										 |  |  | 				freeCompilerArgs = ["-Xjsr305=strict"] | 
					
						
							| 
									
										
										
										
											2019-09-02 22:49:31 +08:00
										 |  |  | 				allWarningsAsErrors = true | 
					
						
							| 
									
										
										
										
											2019-08-21 02:26:43 +08:00
										 |  |  | 			} | 
					
						
							| 
									
										
										
										
											2018-08-16 21:32:44 +08:00
										 |  |  | 		} | 
					
						
							| 
									
										
										
										
											2019-08-21 02:26:43 +08:00
										 |  |  | 		compileTestKotlin { | 
					
						
							|  |  |  | 			kotlinOptions { | 
					
						
							|  |  |  | 				jvmTarget = "1.8" | 
					
						
							|  |  |  | 				freeCompilerArgs = ["-Xjsr305=strict"] | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2018-08-16 21:32:44 +08:00
										 |  |  | 		} | 
					
						
							| 
									
										
										
										
											2013-10-18 01:24:08 +08:00
										 |  |  | 	} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-01-03 19:12:08 +08:00
										 |  |  | 	test { | 
					
						
							| 
									
										
										
										
											2019-09-03 23:08:45 +08:00
										 |  |  | 		useJUnitPlatform() | 
					
						
							|  |  |  | 		include(["**/*Tests.class", "**/*Test.class"]) | 
					
						
							| 
									
										
										
										
											2018-08-16 21:32:44 +08:00
										 |  |  | 		systemProperty("java.awt.headless", "true") | 
					
						
							|  |  |  | 		systemProperty("testGroups", project.properties.get("testGroups")) | 
					
						
							| 
									
										
										
										
											2018-12-13 00:35:50 +08:00
										 |  |  | 		systemProperty("io.netty.leakDetection.level", "paranoid") | 
					
						
							| 
									
										
										
										
											2013-01-03 19:12:08 +08:00
										 |  |  | 	} | 
					
						
							| 
									
										
										
										
											2011-12-15 08:56:31 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-08-16 21:32:44 +08:00
										 |  |  | 	checkstyle { | 
					
						
							| 
									
										
										
										
											2020-09-15 04:19:25 +08:00
										 |  |  | 		toolVersion = "8.36.1" | 
					
						
							| 
									
										
										
										
											2020-05-06 20:25:41 +08:00
										 |  |  | 		configDirectory.set(rootProject.file("src/checkstyle")) | 
					
						
							| 
									
										
										
										
											2018-08-16 21:32:44 +08:00
										 |  |  | 	} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-07 04:56:24 +08:00
										 |  |  | 	dependencies { | 
					
						
							| 
									
										
										
										
											2019-08-12 17:32:26 +08:00
										 |  |  | 		testCompile("org.junit.jupiter:junit-jupiter-api") | 
					
						
							|  |  |  | 		testCompile("org.junit.jupiter:junit-jupiter-params") | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 		testCompile("org.mockito:mockito-core") | 
					
						
							|  |  |  | 		testCompile("org.mockito:mockito-junit-jupiter") | 
					
						
							|  |  |  | 		testCompile("io.mockk:mockk") | 
					
						
							|  |  |  | 		testCompile("org.assertj:assertj-core") | 
					
						
							| 
									
										
										
										
											2019-08-12 17:32:26 +08:00
										 |  |  | 		// Pull in the latest JUnit 5 Launcher API to ensure proper support in IDEs.
 | 
					
						
							| 
									
										
										
										
											2019-07-14 01:13:33 +08:00
										 |  |  | 		testRuntime("org.junit.platform:junit-platform-launcher") | 
					
						
							| 
									
										
										
										
											2019-08-12 17:32:26 +08:00
										 |  |  | 		testRuntime("org.junit.jupiter:junit-jupiter-engine") | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 		testRuntime("org.apache.logging.log4j:log4j-core") | 
					
						
							|  |  |  | 		testRuntime("org.apache.logging.log4j:log4j-slf4j-impl") | 
					
						
							|  |  |  | 		testRuntime("org.apache.logging.log4j:log4j-jul") | 
					
						
							| 
									
										
										
										
											2018-06-14 02:02:02 +08:00
										 |  |  | 		// JSR-305 only used for non-required meta-annotations
 | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 		compileOnly("com.google.code.findbugs:jsr305") | 
					
						
							|  |  |  | 		testCompileOnly("com.google.code.findbugs:jsr305") | 
					
						
							| 
									
										
										
										
											2019-08-17 22:27:22 +08:00
										 |  |  | 		checkstyle("io.spring.javaformat:spring-javaformat-checkstyle:0.0.15") | 
					
						
							| 
									
										
										
										
											2012-12-07 04:56:24 +08:00
										 |  |  | 	} | 
					
						
							| 
									
										
											  
											
												Eliminate all Javadoc warnings
 - Support external Javadoc links using Gradle's javadoc.options.links
 - Fix all other Javadoc warnings, such as typos, references to
   non-existent (or no longer existent) types and members, etc,
   including changes related to the Quartz 2.0 upgrade (SPR-8275) and
   adding the HTTP PATCH method (SPR-7985).
 - Suppress all output for project-level `javadoc` tasks in order to
   hide false-negative warnings about cross-module @see and @link
   references (e.g. spring-core having a @see reference to spring-web).
   Use the `--info` (-i) flag to gradle at any time to see project-level
   javadoc warnings without running the entire `api` task. e.g.
   `gradle :spring-core:javadoc -i`
 - Favor root project level `api` task for detection of legitimate
   Javadoc warnings. There are now zero Javadoc warnings across the
   entirety of spring-framework. Goal: keep it that way.
 - Remove all @link and @see references to types and members that exist
   only in Servlet <= 2.5 and Hibernate <= 4.0, favoring 3.0+ and 4.0+
   respectively. This is necessary because only one version of each of
   these dependencies can be present on the global `api` javadoc task's
   classpath. To that end, the `api` task classpath has now been
   customized to ensure that the Servlet 3 API and Hibernate Core 4 jars
   have precedence.
 - SPR-8896 replaced our dependency on aspectjrt with a dependency on
   aspectjweaver, which is fine from a POM point of view, but causes
   a spurious warning to be emitted from the ant iajc task that it
   "cannot find aspectjrt on the classpath" - even though aspectjweaver
   is perfectly sufficient. In the name of keeping the console quiet, a
   new `rt` configuration has been added, and aspectjrt added as a
   dependency to it. In turn, configurations.rt.asPath is appended to
   the iajc classpath during both compileJava and compileTestJava for
   spring-aspects.
Issue: SPR-10078, SPR-8275, SPR-7985, SPR-8896
											
										 
											2012-12-11 18:56:38 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	ext.javadocLinks = [ | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			"https://docs.oracle.com/javase/8/docs/api/", | 
					
						
							|  |  |  | 			"https://docs.oracle.com/javaee/7/api/", | 
					
						
							|  |  |  | 			"https://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/",  // CommonJ
 | 
					
						
							|  |  |  | 			"https://www.ibm.com/support/knowledgecenter/SS7JFU_8.5.5/com.ibm.websphere.javadoc.doc/web/apidocs/", | 
					
						
							|  |  |  | 			"https://glassfish.java.net/nonav/docs/v3/api/", | 
					
						
							|  |  |  | 			"https://docs.jboss.org/jbossas/javadoc/4.0.5/connector/", | 
					
						
							|  |  |  | 			"https://docs.jboss.org/jbossas/javadoc/7.1.2.Final/", | 
					
						
							|  |  |  | 			"https://tiles.apache.org/tiles-request/apidocs/", | 
					
						
							|  |  |  | 			"https://tiles.apache.org/framework/apidocs/", | 
					
						
							|  |  |  | 			"https://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/", | 
					
						
							| 
									
										
										
										
											2019-12-09 22:58:21 +08:00
										 |  |  | 			"https://www.ehcache.org/apidocs/2.10.4/", | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			"https://www.quartz-scheduler.org/api/2.3.0/", | 
					
						
							| 
									
										
										
										
											2019-09-28 04:38:27 +08:00
										 |  |  | 			"https://fasterxml.github.io/jackson-core/javadoc/2.10/", | 
					
						
							|  |  |  | 			"https://fasterxml.github.io/jackson-databind/javadoc/2.10/", | 
					
						
							|  |  |  | 			"https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.10/", | 
					
						
							| 
									
										
										
										
											2019-08-27 03:13:12 +08:00
										 |  |  | 			"https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/", | 
					
						
							| 
									
										
										
										
											2020-04-28 18:04:32 +08:00
										 |  |  | 			"https://junit.org/junit4/javadoc/4.13/", | 
					
						
							| 
									
										
										
										
											2020-09-14 05:34:44 +08:00
										 |  |  | 			"https://junit.org/junit5/docs/5.7.0/api/" | 
					
						
							| 
									
										
											  
											
												Eliminate all Javadoc warnings
 - Support external Javadoc links using Gradle's javadoc.options.links
 - Fix all other Javadoc warnings, such as typos, references to
   non-existent (or no longer existent) types and members, etc,
   including changes related to the Quartz 2.0 upgrade (SPR-8275) and
   adding the HTTP PATCH method (SPR-7985).
 - Suppress all output for project-level `javadoc` tasks in order to
   hide false-negative warnings about cross-module @see and @link
   references (e.g. spring-core having a @see reference to spring-web).
   Use the `--info` (-i) flag to gradle at any time to see project-level
   javadoc warnings without running the entire `api` task. e.g.
   `gradle :spring-core:javadoc -i`
 - Favor root project level `api` task for detection of legitimate
   Javadoc warnings. There are now zero Javadoc warnings across the
   entirety of spring-framework. Goal: keep it that way.
 - Remove all @link and @see references to types and members that exist
   only in Servlet <= 2.5 and Hibernate <= 4.0, favoring 3.0+ and 4.0+
   respectively. This is necessary because only one version of each of
   these dependencies can be present on the global `api` javadoc task's
   classpath. To that end, the `api` task classpath has now been
   customized to ensure that the Servlet 3 API and Hibernate Core 4 jars
   have precedence.
 - SPR-8896 replaced our dependency on aspectjrt with a dependency on
   aspectjweaver, which is fine from a POM point of view, but causes
   a spurious warning to be emitted from the ant iajc task that it
   "cannot find aspectjrt on the classpath" - even though aspectjweaver
   is perfectly sufficient. In the name of keeping the console quiet, a
   new `rt` configuration has been added, and aspectjrt added as a
   dependency to it. In turn, configurations.rt.asPath is appended to
   the iajc classpath during both compileJava and compileTestJava for
   spring-aspects.
Issue: SPR-10078, SPR-8275, SPR-7985, SPR-8896
											
										 
											2012-12-11 18:56:38 +08:00
										 |  |  | 	] as String[] | 
					
						
							| 
									
										
											  
											
												Upgrade to JUnit 4.11 snapshot in support of JDK7
Class#getDeclaredMembers returns arbitrary results under JDK7. This
results in non-deterministic execution of JUnit test methods, often
revealing unintended dependencies between methods that rely on a
specific order to succeed.
JUnit 4.11 contains support for predictable test ordering [1], but at
the time of this commit, JUnit 4.11 has not yet been released.
Therefore we are testing against a snapshot version [2], which has been
uploaded to repo.springsource.org [3] for easy access. Note that this
artifact may be removed when JUnit 4.11 goes GA.
 - Care has been taken to ensure that spring-test's compile-time
   dependency on JUnit remains at 4.10. This means that the spring-test
   pom.xml will continue to have an optional <dependency> on JUnit
   4.10, instead of the 4.11 snapshot.
 - For reasons not fully understood, the upgrade to the 4.11 snapshot
   of junit-dep caused NoSuchMethodErrors around certain Hamcrest
   types, particularly CoreMatchers and Matchers. import statements
   have been updated accordingly throughout affected test cases.
 - Runtime errors also occurred around uses of JUnit @Rule and
   ExpectedException. These have been reverted to use simpler
   mechanisms like @Test(expected) in the meantime.
 - Some test methods with order-based dependencies on one another have
   been renamed in order to fall in line with JUnit 4.11's new method
   ordering (as opposed to actually fixing the inter-test
   dependencies). In other areas, the fix was as simple as adding a
   tearDown method and cleaning up state.
 - For no apparent reason, the timeout in AspectJAutoProxyCreatorTests'
   testAspectsAndAdvisorNotAppliedToPrototypeIsFastEnough method begins
   to be exceeded. Prior to this commit the timeout value was 3000 ms;
   on the CI server under Linux/JDK6 and JDK7, the test begins taking
   anywhere from 3500-5500 ms with this commit. It is presumed that
   this is an incidental artifact of the upgrade to JUnit 4.11. In any
   case, there are no changes to src/main in this commit, so this
   should not actually represent a performance risk for Spring
   Framework users. The timeout has been increased to 6000 ms to
   accommodate this situation.
[1]: https://github.com/KentBeck/junit/pull/293
[2]: https://github.com/downloads/KentBeck/junit/junit-dep-4.11-SNAPSHOT-20120805-1225.jar
[3]: https://repo.springsource.org/simple/ext-release-local/junit/junit-dep/4.11.20120805.1225
Issue: SPR-9783
											
										 
											2012-09-10 03:41:39 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-21 02:26:43 +08:00
										 |  |  | configure(moduleProjects) { project -> | 
					
						
							|  |  |  | 	apply from: "${rootDir}/gradle/spring-module.gradle" | 
					
						
							| 
									
										
										
										
											2011-12-15 08:56:31 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-01-17 05:28:06 +08:00
										 |  |  | configure(rootProject) { | 
					
						
							| 
									
										
										
										
											2018-08-16 21:32:44 +08:00
										 |  |  | 	description = "Spring Framework" | 
					
						
							| 
									
										
										
										
											2012-12-07 04:56:24 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-08-16 21:32:44 +08:00
										 |  |  | 	apply plugin: "groovy" | 
					
						
							| 
									
										
										
										
											2019-08-21 02:26:43 +08:00
										 |  |  | 	apply plugin: "kotlin" | 
					
						
							| 
									
										
										
										
											2019-04-29 23:47:05 +08:00
										 |  |  | 	apply plugin: "io.spring.nohttp" | 
					
						
							| 
									
										
										
										
											2019-08-19 16:15:43 +08:00
										 |  |  | 	apply plugin: 'org.springframework.build.api-diff' | 
					
						
							| 
									
										
										
										
											2019-08-21 21:24:03 +08:00
										 |  |  | 	apply from: "${rootDir}/gradle/publications.gradle" | 
					
						
							| 
									
										
										
										
											2019-08-21 02:26:43 +08:00
										 |  |  | 	apply from: "${rootDir}/gradle/docs.gradle" | 
					
						
							| 
									
										
										
										
											2012-12-07 04:56:24 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-04-29 23:47:05 +08:00
										 |  |  | 	nohttp { | 
					
						
							|  |  |  | 		source.exclude "**/test-output/**" | 
					
						
							| 
									
										
										
										
											2020-06-17 20:46:23 +08:00
										 |  |  | 		allowlistFile = project.file("src/nohttp/allowlist.lines") | 
					
						
							| 
									
										
										
										
											2019-09-25 21:29:19 +08:00
										 |  |  | 		def rootPath = file(rootDir).toPath() | 
					
						
							|  |  |  | 		def projectDirs = allprojects.collect { it.projectDir } + "${rootDir}/buildSrc" | 
					
						
							|  |  |  | 		projectDirs.forEach { dir -> | 
					
						
							|  |  |  | 			[ 'bin', 'build', 'out', '.settings' ] | 
					
						
							|  |  |  | 				.collect { rootPath.relativize(new File(dir, it).toPath()) } | 
					
						
							|  |  |  | 				.forEach { source.exclude "$it/**" } | 
					
						
							|  |  |  | 			[ '.classpath', '.project' ] | 
					
						
							|  |  |  | 				.collect { rootPath.relativize(new File(dir, it).toPath()) } | 
					
						
							|  |  |  | 				.forEach { source.exclude "$it" } | 
					
						
							| 
									
										
										
										
											2019-04-29 23:47:05 +08:00
										 |  |  | 		} | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-21 21:24:03 +08:00
										 |  |  | 	publishing { | 
					
						
							|  |  |  | 		publications { | 
					
						
							| 
									
										
										
										
											2019-08-22 00:42:17 +08:00
										 |  |  | 			mavenJava(MavenPublication) { | 
					
						
							| 
									
										
										
										
											2019-08-21 21:24:03 +08:00
										 |  |  | 				artifact docsZip | 
					
						
							|  |  |  | 				artifact schemaZip | 
					
						
							|  |  |  | 				artifact distZip | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2012-12-07 04:56:24 +08:00
										 |  |  | 	} | 
					
						
							| 
									
										
										
										
											2012-11-01 08:29:00 +08:00
										 |  |  | } |