Create spring-boot-webflux module

This commit is contained in:
Andy Wilkinson
2025-04-03 09:04:26 +01:00
committed by Phillip Webb
parent 2e52a3ebef
commit 014240d576
85 changed files with 299 additions and 259 deletions

View File

@@ -14,8 +14,8 @@ dependencies {
api("org.springframework:spring-web")
optional(project(":spring-boot-project:spring-boot-autoconfigure"))
optional(project(":spring-boot-project:spring-boot-webflux"))
optional(project(":spring-boot-project:spring-boot-webmvc"))
optional("org.springframework:spring-webflux")
optional("org.springframework.security:spring-security-web")
optional("org.thymeleaf:thymeleaf")
optional("org.thymeleaf.extras:thymeleaf-extras-springsecurity6")
@@ -28,7 +28,3 @@ dependencies {
testRuntimeOnly("ch.qos.logback:logback-classic")
}
tasks.getByName("checkAutoConfigurationClasses") {
enabled = false
}

View File

@@ -69,7 +69,7 @@ import org.springframework.web.servlet.view.AbstractCachingViewResolver;
* @author Artsiom Yudovin
* @since 4.0.0
*/
@AutoConfiguration(afterName = { "org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration",
@AutoConfiguration(afterName = { "org.springframework.boot.webflux.autoconfigure.WebFluxAutoConfiguration",
"org.springframework.boot.webmvc.autoconfigure.WebMvcAutoConfiguration" })
@EnableConfigurationProperties(ThymeleafProperties.class)
@ConditionalOnClass({ TemplateMode.class, SpringTemplateEngine.class })