Skip to content

Commit

Permalink
Merge pull request #632 from xuwei-k/update-sbt-plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n authored Oct 6, 2023
2 parents 09ffb6c + f29a2dd commit e2b1c58
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ lazy val app = (project in file("cli"))
else prev
}
assembly / mainClass := Some("scalaxb.compiler.Main")
assembly / assemblyOption := (assembly / assemblyOption).value.copy(prependShellScript = Some(sbtassembly.AssemblyPlugin.defaultShellScript))
assembly / assemblyOption := (assembly / assemblyOption).value.withPrependShellScript(Some(sbtassembly.AssemblyPlugin.defaultShellScript))
assembly / assemblyOutputPath := file(s"./${name.value}-${version.value}")
})

Expand Down
1 change: 0 additions & 1 deletion project/buildinfo.sbt

This file was deleted.

2 changes: 1 addition & 1 deletion project/common.scala
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ object Common {
val codegenSettings: Seq[Def.Setting[_]] = scalaxbCodegenSettings ++ Seq(
Compile / unmanagedSourceDirectories += baseDirectory.value / "src_managed",
buildInfoPackage := "scalaxb",
buildInfoKeys := BuildInfoKey.ofN(name, version, scalaVersion, sbtVersion,
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion,
"defaultDispatchVersion" -> Dependencies.defaultDispatchVersion,
"defaultHttp4sVersion" -> Dependencies.defaultHttp4sVersion,
"defaultGigahorseVersion" -> Dependencies.defaultGigahorseVersion,
Expand Down
6 changes: 3 additions & 3 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
addSbtPlugin("com.eed3si9n" % "sbt-nocomma" % "0.1.1")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.9")
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.8.0")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.1.3")
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1")
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0")

// resolvers += Resolver.sonatypeRepo("public")
// comment this out for production otherwise chicken-egg will entail.
Expand Down

0 comments on commit e2b1c58

Please sign in to comment.