63 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Groovy
		
	
	
	
			
		
		
	
	
			63 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Groovy
		
	
	
	
| /*
 | |
|  * 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.
 | |
|  */
 | |
| 
 | |
| plugins {
 | |
| 	id "java-library"
 | |
| 	id "java-test-fixtures"
 | |
| 	id "org.springframework.boot.auto-configuration"
 | |
| 	id "org.springframework.boot.configuration-properties"
 | |
| 	id "org.springframework.boot.deployed"
 | |
| 	id "org.springframework.boot.optional-dependencies"
 | |
| }
 | |
| 
 | |
| description = "Spring Boot AutoConfigure"
 | |
| 
 | |
| dependencies {
 | |
| 	api(project(":core:spring-boot"))
 | |
| 
 | |
| 	optional("com.github.ben-manes.caffeine:caffeine")
 | |
| 	optional("org.aspectj:aspectjweaver")
 | |
| 	optional("jakarta.servlet:jakarta.servlet-api")
 | |
| 	optional("javax.money:money-api")
 | |
| 	optional("org.springframework:spring-web")
 | |
| 	optional("org.springframework.data:spring-data-commons")
 | |
| 
 | |
| 	testFixturesCompileOnly(project(":core:spring-boot-test"))
 | |
| 	testFixturesCompileOnly(project(":test-support:spring-boot-test-support"))
 | |
| 	testFixturesCompileOnly("javax.cache:cache-api")
 | |
| 	testFixturesImplementation(testFixtures(project(":core:spring-boot")))
 | |
| 
 | |
| 	testImplementation(project(":core:spring-boot-test"))
 | |
| 	testImplementation(project(":test-support:spring-boot-test-support"))
 | |
| 	testImplementation(testFixtures(project(":core:spring-boot")))
 | |
| 	testImplementation("ch.qos.logback:logback-classic")
 | |
| 	testImplementation("io.projectreactor:reactor-core")
 | |
| 	testImplementation("org.springframework:spring-context-support")
 | |
| 	testImplementation("org.springframework.security:spring-security-config")
 | |
| 	testImplementation("tools.jackson.core:jackson-databind")
 | |
| 
 | |
| 	testRuntimeOnly("com.github.ben-manes.caffeine:caffeine")
 | |
| 	testRuntimeOnly("org.springframework:spring-webflux")
 | |
| }
 | |
| 
 | |
| test {
 | |
| 	jvmArgs += "--add-opens=java.base/java.net=ALL-UNNAMED"
 | |
| }
 | |
| 
 | |
| tasks.named("compileTestJava") {
 | |
| 	options.nullability.checking = "tests"
 | |
| }
 |