Skip to content

Commit a5733e9

Browse files
committed
Do not specify the library version directly in examples
1 parent dcdeb42 commit a5733e9

File tree

2 files changed

+6
-2
lines changed
  • examples

2 files changed

+6
-2
lines changed

examples/springdoc-openapi-scala-1/simple/build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@
1616

1717
ThisBuild / scalaVersion := "2.12.18"
1818

19+
lazy val `springdoc-openapi-scala-1-version`: String = ??? // specify version of the library, for example "0.2.0"
20+
1921
lazy val root = (project in file("."))
2022
.settings(
2123
libraryDependencies ++= Seq(
22-
"za.co.absa" %% "springdoc-openapi-scala-1" % "0.2.0-SNAPSHOT",
24+
"za.co.absa" %% "springdoc-openapi-scala-1" % `springdoc-openapi-scala-1-version`,
2325
"org.springdoc" % "springdoc-openapi-webmvc-core" % "1.7.0",
2426
"org.springframework.boot" % "spring-boot-starter-web" % "2.6.6"
2527
),

examples/springdoc-openapi-scala-2/simple/build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@
1616

1717
ThisBuild / scalaVersion := "2.12.18"
1818

19+
lazy val `springdoc-openapi-scala-2-version`: String = ??? // specify version of the library, for example "0.2.0"
20+
1921
lazy val root = (project in file("."))
2022
.settings(
2123
libraryDependencies ++= Seq(
22-
"za.co.absa" %% "springdoc-openapi-scala-2" % "0.2.0-SNAPSHOT",
24+
"za.co.absa" %% "springdoc-openapi-scala-2" % `springdoc-openapi-scala-2-version`,
2325
"org.springdoc" % "springdoc-openapi-starter-webmvc-api" % "2.3.0",
2426
"org.springframework.boot" % "spring-boot-starter-web" % "3.2.0"
2527
),

0 commit comments

Comments
 (0)