| 
									
										
										
										
											2025-06-21 08:20:50 +08:00
										 |  |  | /* | 
					
						
							|  |  |  |  * Copyright 2012-present the original author or authors. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Licensed under the Apache License, Version 2.0 (the License); | 
					
						
							|  |  |  |  * you may not use this file except in compliance with the License. | 
					
						
							|  |  |  |  * You may obtain a copy of the License at | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *      https://www.apache.org/licenses/LICENSE-2.0
 | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Unless required by applicable law or agreed to in writing, software | 
					
						
							|  |  |  |  * distributed under the License is distributed on an "AS IS" BASIS, | 
					
						
							|  |  |  |  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
					
						
							|  |  |  |  * See the License for the specific language governing permissions and | 
					
						
							|  |  |  |  * limitations under the License. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-01-10 21:48:43 +08:00
										 |  |  | plugins { | 
					
						
							| 
									
										
										
										
											2020-01-23 03:24:37 +08:00
										 |  |  | 	id "java-library" | 
					
						
							| 
									
										
										
										
											2025-03-06 19:44:37 +08:00
										 |  |  | 	id "java-test-fixtures" | 
					
						
							| 
									
										
										
										
											2020-01-23 03:24:37 +08:00
										 |  |  | 	id "org.springframework.boot.auto-configuration" | 
					
						
							| 
									
										
										
										
											2023-04-15 05:55:03 +08:00
										 |  |  | 	id "org.springframework.boot.configuration-properties" | 
					
						
							| 
									
										
										
										
											2020-01-23 03:24:37 +08:00
										 |  |  | 	id "org.springframework.boot.deployed" | 
					
						
							|  |  |  | 	id "org.springframework.boot.optional-dependencies" | 
					
						
							| 
									
										
										
										
											2020-01-10 21:48:43 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-01-23 03:24:37 +08:00
										 |  |  | description = "Spring Boot AutoConfigure" | 
					
						
							| 
									
										
										
										
											2020-01-10 21:48:43 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | dependencies { | 
					
						
							| 
									
										
										
										
											2025-07-09 06:58:43 +08:00
										 |  |  | 	api(project(":core:spring-boot")) | 
					
						
							| 
									
										
										
										
											2020-01-10 21:48:43 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-01-23 06:09:17 +08:00
										 |  |  | 	optional("com.github.ben-manes.caffeine:caffeine") | 
					
						
							| 
									
										
										
										
											2025-04-29 17:19:49 +08:00
										 |  |  | 	optional("org.aspectj:aspectjweaver") | 
					
						
							| 
									
										
										
										
											2025-03-06 19:44:37 +08:00
										 |  |  | 	optional("jakarta.servlet:jakarta.servlet-api") | 
					
						
							| 
									
										
										
										
											2025-03-27 22:05:55 +08:00
										 |  |  | 	optional("javax.money:money-api") | 
					
						
							|  |  |  | 	optional("org.springframework:spring-web") | 
					
						
							| 
									
										
										
										
											2025-03-21 18:44:31 +08:00
										 |  |  | 	optional("org.springframework.data:spring-data-commons") | 
					
						
							| 
									
										
										
										
											2020-01-10 21:48:43 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-07-09 06:58:43 +08:00
										 |  |  | 	testFixturesCompileOnly(project(":core:spring-boot-test")) | 
					
						
							|  |  |  | 	testFixturesCompileOnly(project(":test-support:spring-boot-test-support")) | 
					
						
							| 
									
										
										
										
											2025-03-30 15:43:37 +08:00
										 |  |  | 	testFixturesCompileOnly("javax.cache:cache-api") | 
					
						
							| 
									
										
										
										
											2025-07-09 06:58:43 +08:00
										 |  |  | 	testFixturesImplementation(testFixtures(project(":core:spring-boot"))) | 
					
						
							| 
									
										
										
										
											2025-03-12 01:41:17 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-07-09 06:58:43 +08:00
										 |  |  | 	testImplementation(project(":core:spring-boot-test")) | 
					
						
							|  |  |  | 	testImplementation(project(":test-support:spring-boot-test-support")) | 
					
						
							|  |  |  | 	testImplementation(testFixtures(project(":core:spring-boot"))) | 
					
						
							| 
									
										
										
										
											2020-01-23 06:09:17 +08:00
										 |  |  | 	testImplementation("ch.qos.logback:logback-classic") | 
					
						
							| 
									
										
										
										
											2025-03-06 19:44:37 +08:00
										 |  |  | 	testImplementation("io.projectreactor:reactor-core") | 
					
						
							|  |  |  | 	testImplementation("org.springframework:spring-context-support") | 
					
						
							| 
									
										
										
										
											2025-04-29 17:19:49 +08:00
										 |  |  | 	testImplementation("org.springframework.security:spring-security-config") | 
					
						
							| 
									
										
										
										
											2025-07-23 02:36:19 +08:00
										 |  |  | 	testImplementation("tools.jackson.core:jackson-databind") | 
					
						
							| 
									
										
										
										
											2022-07-29 19:35:54 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-03-06 19:44:37 +08:00
										 |  |  | 	testRuntimeOnly("com.github.ben-manes.caffeine:caffeine") | 
					
						
							|  |  |  | 	testRuntimeOnly("org.springframework:spring-webflux") | 
					
						
							| 
									
										
										
										
											2022-10-18 17:56:50 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2022-11-06 09:45:00 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | test { | 
					
						
							|  |  |  | 	jvmArgs += "--add-opens=java.base/java.net=ALL-UNNAMED" | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2025-09-10 22:08:03 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | tasks.named("compileTestJava") { | 
					
						
							|  |  |  | 	options.nullability.checking = "tests" | 
					
						
							|  |  |  | } |