Skip to content

Commit

Permalink
upgrade persistence api to v0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fupelaqu committed Mar 17, 2024
1 parent 9606e75 commit 264d666
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 167 deletions.
29 changes: 3 additions & 26 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,37 +1,14 @@
import sbt.Resolver

import Common._
import app.softnetwork.sbt.build._
import app.softnetwork.*

/////////////////////////////////
// Defaults
/////////////////////////////////

app.softnetwork.sbt.build.Publication.settings

/////////////////////////////////
// Useful aliases
/////////////////////////////////

addCommandAlias("cd", "project") // navigate the projects

addCommandAlias("cc", ";clean;compile") // clean and compile

addCommandAlias("pl", ";clean;publishLocal") // clean and publish locally

addCommandAlias("pr", ";clean;publish") // clean and publish globally

addCommandAlias("pld", ";clean;local:publishLocal;dockerComposeUp") // clean and publish/launch the docker environment

addCommandAlias("dct", ";dockerComposeTest") // navigate the projects

ThisBuild / shellPrompt := prompt

ThisBuild / organization := "app.softnetwork"

name := "generic-sequence-api"

ThisBuild / version := "0.3.0"
ThisBuild / version := "0.4.0"

ThisBuild / scalaVersion := "2.12.15"

Expand Down Expand Up @@ -65,5 +42,5 @@ Test / parallelExecution := false

lazy val root = project.in(file("."))
.configs(IntegrationTest)
.settings(Defaults.itSettings, BuildInfoSettings.settings)
.settings(Defaults.itSettings, app.softnetwork.Info.infoSettings)
.enablePlugins(AkkaGrpcPlugin, BuildInfoPlugin)
3 changes: 0 additions & 3 deletions project/Common.scala

This file was deleted.

6 changes: 6 additions & 0 deletions project/Versions.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
object Versions {

val genericPersistence = "0.6.2"

val scalatest = "3.2.16"
}
21 changes: 13 additions & 8 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
logLevel := Level.Warn

resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/"
libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always

addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.2")
resolvers ++= Seq(
"Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/",
"Softnetwork releases" at "https://softnetwork.jfrog.io/artifactory/releases/"
)

addSbtPlugin("app.softnetwork.sbt-softnetwork" % "sbt-softnetwork-git" % "0.1.7")

addSbtPlugin("app.softnetwork.sbt-softnetwork" % "sbt-softnetwork-info" % "0.1.7")

addSbtPlugin("app.softnetwork.sbt-softnetwork" % "sbt-softnetwork-publish" % "0.1.7")

addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.3.10")

addSbtPlugin("com.tapad" % "sbt-docker-compose" % "1.0.34")

addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0")

addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.10.0-RC1")
addDependencyTreePlugin

//addSbtPlugin("com.typesafe.sbt" % "sbt-multi-jvm" % "0.4.0")

addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")

addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.8")

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions project/src/main/scala/app/softnetwork/sbt/build/GitSupport.scala

This file was deleted.

25 changes: 0 additions & 25 deletions project/src/main/scala/app/softnetwork/sbt/build/Publication.scala

This file was deleted.

32 changes: 0 additions & 32 deletions project/src/main/scala/app/softnetwork/sbt/build/Utils.scala

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import app.softnetwork.persistence.schema.SchemaProvider
import app.softnetwork.sequence.persistence.typed.Sequence
import com.typesafe.scalalogging.StrictLogging

import scala.util.{Failure, Success, Try}

/** Created by smanciot on 07/04/2022.
*/
trait SequenceApplication
Expand Down

0 comments on commit 264d666

Please sign in to comment.