35 lines
1.3 KiB
Groovy
35 lines
1.3 KiB
Groovy
plugins {
|
|
id "java-library"
|
|
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 Servlet"
|
|
|
|
dependencies {
|
|
api(project(":spring-boot-project:spring-boot"))
|
|
api("org.springframework:spring-web")
|
|
|
|
optional(project(":spring-boot-project:spring-boot-autoconfigure"))
|
|
optional(project(":spring-boot-project:spring-boot-actuator-autoconfigure"))
|
|
optional(project(":spring-boot-project:spring-boot-web-server"))
|
|
optional("jakarta.servlet:jakarta.servlet-api")
|
|
optional("org.springframework.security:spring-security-config")
|
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-jetty"))
|
|
testImplementation(project(":spring-boot-project:spring-boot-test"))
|
|
testImplementation(project(":spring-boot-project:spring-boot-tomcat"))
|
|
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
|
testImplementation(project(":spring-boot-project:spring-boot-undertow"))
|
|
testImplementation("org.springframework:spring-webmvc")
|
|
|
|
testRuntimeOnly("ch.qos.logback:logback-classic")
|
|
testRuntimeOnly("org.apache.httpcomponents.client5:httpclient5")
|
|
}
|
|
|
|
tasks.named("test") {
|
|
jvmArgs += "--add-opens=java.base/java.net=ALL-UNNAMED"
|
|
}
|