Given a gradle project like:
plugins {
id 'io.freefair.lombok' version '8.11'
id 'org.springframework.boot' version '3.4.1'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
configurations {
nflowExplorer
}
jar {
enabled = false
}
dependencies {
implementation(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
implementation(platform('org.springdoc:springdoc-openapi:2.8.3'))
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-jetty'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// nflow
implementation 'io.nflow:nflow-rest-api-spring-web:10.0.0'
nflowExplorer 'io.nflow:nflow-explorer:10.0.0@tar.gz'
// swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui'
...
}
results in nflow-rest-api-common module including io.swagger.core.v3:swagger-annotations as a transitive dependency, requiring:
// nflow
implementation('io.nflow:nflow-rest-api-spring-web:10.0.0') {
exclude group: 'io.swagger.core.v3', module: 'swagger-annotations'
}
nflowExplorer 'io.nflow:nflow-explorer:10.0.0@tar.gz'
I don't think these are a runtime requirement for this specific module (or the project as a whole?).
Given a gradle project like:
results in
nflow-rest-api-commonmodule includingio.swagger.core.v3:swagger-annotationsas a transitive dependency, requiring:I don't think these are a runtime requirement for this specific module (or the project as a whole?).