Skip to content

Commit

Permalink
use servlet API version 5 for jetty container
Browse files Browse the repository at this point in the history
  • Loading branch information
JKatzwinkel committed Nov 13, 2022
1 parent 2c9e93f commit b1a5c9c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ dependencies {
implementation 'org.modelmapper:modelmapper:3.1.0'
implementation 'org.jooq:jool:0.9.14'

// https://github.com/spring-projects/spring-framework/issues/29435
implementation('jakarta.servlet:jakarta.servlet-api:5.0.0')
implementation('org.springframework.boot:spring-boot-starter-jetty:3.0.0-RC2') {
exclude group: 'jakarta.servlet', module: 'jakarta.servlet-api' // until jetty 12
exclude module: 'jetty-xml'
}
implementation('org.springframework.boot:spring-boot-starter-web:3.0.0-RC2') {
Expand All @@ -87,6 +90,7 @@ dependencies {
exclude group: 'bouncycastle'
}

testImplementation('jakarta.servlet:jakarta.servlet-api:6.0.0')
testImplementation 'org.springframework.boot:spring-boot-starter-test:3.0.0-M5'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.9.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
Expand Down

0 comments on commit b1a5c9c

Please sign in to comment.