Skip to content

Commit

Permalink
Build: use Smallrye-OpenAPI-Plugin from Gradle plugins (#6525)
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy authored Apr 11, 2023
1 parent 75c7864 commit 0eec6ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions api/model/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,19 @@

import io.smallrye.openapi.api.OpenApiConfig.OperationIdStrategy
import io.smallrye.openapi.gradleplugin.SmallryeOpenApiExtension
import io.smallrye.openapi.gradleplugin.SmallryeOpenApiPlugin
import io.smallrye.openapi.gradleplugin.SmallryeOpenApiTask
import org.apache.tools.ant.filters.ReplaceTokens

buildscript { dependencies { classpath(libs.smallrye.openapi.plugin) } }

plugins {
`java-library`
jacoco
`maven-publish`
signing
`nessie-conventions`
alias(libs.plugins.annotations.stripper)
alias(libs.plugins.smallrye.openapi)
}

apply<SmallryeOpenApiPlugin>()

dependencies {
implementation(platform(libs.jackson.bom))
implementation(libs.jackson.databind)
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ scala-library-v213 = { module = "org.scala-lang:scala-library", version = { stri
slf4j-api = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" }
slf4j-jcl-over-slf4j = { module = "org.slf4j:jcl-over-slf4j", version.ref = "slf4j" }
slf4j-log4j-over-slf4j = { module = "org.slf4j:log4j-over-slf4j", version.ref = "slf4j" }
smallrye-openapi-plugin = { module = "io.smallrye:smallrye-open-api-gradle-plugin", version = "3.3.2" }
spark-sql-v31-v212 = { module = "org.apache.spark:spark-sql_2_12", version = { strictly = "[3.1, 3.2[", prefer = "3.1.3"}}
spark-sql-v32-v212 = { module = "org.apache.spark:spark-sql_2_12", version = { strictly = "[3.2, 3.3[", prefer = "3.2.3"}}
spark-sql-v32-v213 = { module = "org.apache.spark:spark-sql_2_13", version = { strictly = "[3.2, 3.3[", prefer = "3.2.3"}}
Expand All @@ -229,3 +228,4 @@ nexus-publish-plugin = { id = "io.github.gradle-nexus.publish-plugin", version =
node-gradle = { id = "com.github.node-gradle.node", version = "3.5.1" }
protobuf = { id = "com.google.protobuf", version = "0.9.2" }
quarkus = { id = "io.quarkus", version.ref = "quarkus" }
smallrye-openapi = { id = "io.smallrye.openapi", version = "3.3.2" }

0 comments on commit 0eec6ac

Please sign in to comment.