Skip to content

Commit

Permalink
docs: fix the swagger parser version compel
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt committed Sep 20, 2024
1 parent 0bef460 commit f946e25
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
13 changes: 7 additions & 6 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ repositories {
}

dependencies {
constraints {
implementation(libs.swagger.parser) {
because("OpenAPI merger plugin uses an old version that caused this issue: https://github.com/eclipse-edc/GradlePlugins/issues/183")
}
}

implementation(libs.plugin.nexus.publish)
implementation(libs.plugin.checksum)
implementation(libs.plugin.swagger)
implementation(libs.plugin.openapi.merger)
implementation(libs.plugin.openapi.merger) {
constraints {
implementation(libs.swagger.parser) {
because("OpenAPI merger plugin uses an old version that caused this issue: https://github.com/eclipse-edc/GradlePlugins/issues/183")
}
}
}

implementation(libs.jetbrains.annotations)
implementation(libs.jackson.core)
Expand Down
8 changes: 7 additions & 1 deletion plugins/openapi-merger/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ plugins {
val group: String by project

dependencies {
implementation(libs.plugin.openapi.merger)
implementation(libs.plugin.openapi.merger) {
constraints {
implementation(libs.swagger.parser) {
because("OpenAPI merger plugin uses an old version that caused this issue: https://github.com/eclipse-edc/GradlePlugins/issues/183")
}
}
}
}

gradlePlugin {
Expand Down

0 comments on commit f946e25

Please sign in to comment.