dreis2211 56df70b0e7 Use Spring 5 module of Jersey
See gh-20009
2020-02-03 09:34:57 +01:00

28 lines
1.2 KiB
Groovy

plugins {
id "org.springframework.boot.starter"
}
description = "Starter for building RESTful web applications using JAX-RS and Jersey. An alternative to spring-boot-starter-web"
dependencies {
api(platform(project(":spring-boot-project:spring-boot-dependencies")))
api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-json"))
api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-tomcat"))
api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-validation"))
api("org.springframework:spring-web")
api("org.glassfish.jersey.core:jersey-server")
api("org.glassfish.jersey.containers:jersey-container-servlet-core")
api("org.glassfish.jersey.containers:jersey-container-servlet")
api("org.glassfish.jersey.ext:jersey-bean-validation") {
exclude group: "jakarta.el", module: "jakarta.el-api"
exclude group: "org.glassfish", module: "jakarta.el"
}
api("org.glassfish.jersey.ext:jersey-spring5")
api("org.glassfish.jersey.media:jersey-media-json-jackson")
}
checkRuntimeClasspathForConflicts {
ignore { name -> name.startsWith("org/aopalliance/intercept/") }
ignore { name -> name.startsWith("org/aopalliance/aop/") }
}