Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

Commit

Permalink
publishSigned fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbanda committed Jun 24, 2019
1 parent e1895c2 commit 306c18f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ packagedArtifacts in publishLocal := {
signedArtifacts := {
val artifacts: Map[sbt.Artifact, java.io.File] = signedArtifacts.value
val assets: java.io.File = (playPackageAssets in Compile).value
artifacts + (Artifact(moduleName.value, "jar", "jar", "assets") -> assets)
artifacts ++ Seq(
Artifact(moduleName.value, "jar", "jar", "assets") -> assets,
Artifact(moduleName.value, "jar", "jar.asc", "assets") -> new java.io.File(assets.getAbsolutePath + ".asc") // requires a manual signing of assets.jar
)
}

// remove custom conf form the jar
Expand Down

0 comments on commit 306c18f

Please sign in to comment.