You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the BOM in Gradle, the logbook-logstash dependency is not provided with a version number. Gradle did, however, resolve the version as "2.0.0-RC.1" for logbook-spring-boot-starter.
Expected Behavior
Using logbook-logstash dependency in Gradle with the BOM should not require an explicit version number.
Actual Behavior
I needed to specify the version number explicitly in build.gradle for logbook-logstash.
Possible Fix
Visual inspection confirms that pom.xml for logbook-bom does not mention logbook-logstash. The fix should be simple, and add logbook-logstash to that pom.xml.
Steps to Reproduce
In my Gradle (I expect a Maven pom.xml to work the same way):
ext {
logbookVersion = "2.0.0-RC.1"
}
dependencyManagement {
imports {
mavenBom "org.zalando:logbook-bom:${logbookVersion}"
}
}
dependencies {
implementation "org.zalando:logbook-spring-boot-starter"
// To reproduce, remove the version part:
runtimeOnly "org.zalando:logbook-logstash:${logbookVersion}"
}
Description
When using the BOM in Gradle, the
logbook-logstash
dependency is not provided with a version number. Gradle did, however, resolve the version as "2.0.0-RC.1" forlogbook-spring-boot-starter
.Expected Behavior
Using
logbook-logstash
dependency in Gradle with the BOM should not require an explicit version number.Actual Behavior
I needed to specify the version number explicitly in
build.gradle
forlogbook-logstash
.Possible Fix
Visual inspection confirms that
pom.xml
forlogbook-bom
does not mentionlogbook-logstash
. The fix should be simple, and addlogbook-logstash
to thatpom.xml
.Steps to Reproduce
In my Gradle (I expect a Maven
pom.xml
to work the same way):Your Environment
The text was updated successfully, but these errors were encountered: