Skip to content

Commit

Permalink
Update couchbase scala-client 1.4.10 to 1.4.10-patch2
Browse files Browse the repository at this point in the history
  • Loading branch information
ohze-thanhpv committed Sep 22, 2023
1 parent 8f2f426 commit 82a1563
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/sbt-devops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
- run: ./run-cb-test-container.sh
env:
CB_VERSION: ${{ matrix.couchbase }}
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_PASS: ${{ secrets.NEXUS_PASS }}
- run: sbt test
# https://www.scala-sbt.org/1.x/docs/GitHub-Actions-with-sbt.html#Caching
- run: |
Expand Down Expand Up @@ -58,6 +60,8 @@ jobs:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_PASS: ${{ secrets.NEXUS_PASS }}
# optional
#CI_CLEAN: '; clean ; sonatypeBundleClean'
#CI_RELEASE: '+publishSigned'
Expand Down
6 changes: 5 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ val emptyDoc = Compile / packageDoc / mappings := Seq(
(ThisBuild / baseDirectory).value / "README.md" -> "README.md"
)

val nexus = "https://repo.bennuoc.com/repository/maven"
resolvers += "Nexus" at s"$nexus-public"

def resourcePrepare(extra: Def.Initialize[Task[String]]) =
resourceGenerators += Def.task {
val f = managedResourceDirectories.value.head / "application.conf"
Expand Down Expand Up @@ -37,12 +40,13 @@ lazy val `couchbase-scala` = projectMatrix
.configAxis(config14, Seq(scala212, scala213))
.settings(
libraryDependencies ++= Seq(
"com.couchbase.client" %% "scala-client" % "1.4.10",
"com.couchbase.client" %% "scala-client" % "1.4.10-patch2",
"javax.inject" % "javax.inject" % "1",
"com.typesafe.play" %% "play-json" % "2.10.0-RC5",
"com.typesafe" % "config" % configAxis.value.version,
"com.google.inject" % "guice" % "5.0.1" % Test,
) ++ specs2("-core").value,
resolvers += "Nexus" at s"$nexus-public",
emptyDoc,
inConfig(Test)(resourcePrepare(Def.task {
val cp = (`compat-test` / Runtime / fullClasspath).value
Expand Down

0 comments on commit 82a1563

Please sign in to comment.