Work around compile warnings from Data Neo4j's use of API Guardian

See gh-27170
This commit is contained in:
Andy Wilkinson 2021-07-14 18:28:24 +01:00
parent 8540bc0d12
commit c00e885ac4
3 changed files with 9 additions and 0 deletions

View File

@ -64,6 +64,7 @@ dependencies {
optional("org.apache.tomcat.embed:tomcat-embed-el")
optional("org.apache.tomcat.embed:tomcat-embed-websocket")
optional("org.apache.tomcat:tomcat-jdbc")
optional("org.apiguardian:apiguardian-api")
optional("org.codehaus.groovy:groovy-templates")
optional("com.github.ben-manes.caffeine:caffeine")
optional("com.github.mxab.thymeleaf.extras:thymeleaf-extras-data-attribute")

View File

@ -20,6 +20,13 @@ bom {
]
}
}
library("API Guardian", "1.1.0") {
group("org.apiguardian") {
modules = [
"apiguardian-api"
]
}
}
library("Commons Compress", "1.20") {
group("org.apache.commons") {
modules = [

View File

@ -7,6 +7,7 @@ description = "Spring Boot Data Neo4j smoke test"
dependencies {
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-neo4j"))
implementation("org.apiguardian:apiguardian-api")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
}