Create spring-boot-jetty module
This commit is contained in:
committed by
Phillip Webb
parent
0a72db4676
commit
c96b7375fe
@@ -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")
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user