Skip to content

Commit

Permalink
feat(mercury): Fix release ATL-2030 (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioPinheiro committed Oct 25, 2022
1 parent e0869f7 commit 93f9e22
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mercury/mercury-library/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ inThisBuild(

ThisBuild / resolvers += Resolver.githubPackages("FabioPinheiro", "scala-did")

val useDidLib = true
val useDidLib = false
def didScalaAUX =
if (useDidLib) (libraryDependencies += D.didScala.value)
else (libraryDependencies ++= Seq())
Expand Down Expand Up @@ -66,6 +66,8 @@ lazy val D = new {

}

publish / skip := true

// #########################
// ### Models & Services ###
// #########################
Expand Down Expand Up @@ -216,12 +218,14 @@ lazy val agentDidScala =
.in(file("agent-did-scala"))
.settings(name := "mercury-agent-didscala")
.settings(
skip / publish := true,
didScalaAUX,
if (useDidLib) (Compile / sources ++= Seq())
else (Compile / sources := Seq()),
)
.dependsOn(agent)

// ### ReleaseStep ###
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
Expand Down

0 comments on commit 93f9e22

Please sign in to comment.