mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-01-09 17:12:21 +01:00
(refs #1748) Exclude gitbucket.war from published artifacts
This commit is contained in:
@@ -99,6 +99,11 @@ javaOptions in Jetty ++= Option(System.getenv().get("JREBEL")).toSeq.flatMap { p
|
||||
Seq("-noverify", "-XX:+UseConcMarkSweepGC", "-XX:+CMSClassUnloadingEnabled", s"-javaagent:${path}")
|
||||
}
|
||||
|
||||
// Exclude a war file from published artifacts
|
||||
packagedArtifacts := {
|
||||
packagedArtifacts.value.filterNot { case (artifact, file) => file.getName.endsWith(".war") }
|
||||
}
|
||||
|
||||
// Create executable war file
|
||||
val ExecutableConfig = config("executable").hide
|
||||
Keys.ivyConfigurations += ExecutableConfig
|
||||
|
||||
Reference in New Issue
Block a user