Create spring-boot-jetty module

This commit is contained in:
Andy Wilkinson
2025-03-13 17:01:55 +00:00
committed by Phillip Webb
parent 0a72db4676
commit c96b7375fe
68 changed files with 220 additions and 172 deletions

View File

@@ -50,8 +50,8 @@ tasks.register("resourcesJar", Jar) { jar ->
}
dependencies {
compileOnly("org.eclipse.jetty.ee10:jetty-ee10-servlet")
compileOnly("org.springframework:spring-web")
compileOnly("org.springframework.boot:spring-boot-jetty")
implementation(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
implementation("org.springframework.boot:spring-boot-starter")

View File

@@ -23,7 +23,7 @@ import org.eclipse.jetty.server.HttpConnectionFactory;
import org.eclipse.jetty.server.handler.ContextHandler;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.web.server.jetty.JettyServerCustomizer;
import org.springframework.boot.jetty.JettyServerCustomizer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;