mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-13 17:05:50 +01:00
Merge pull request #1199 from team-lab/fix-jrebel
fix jrebel integration
This commit is contained in:
@@ -78,12 +78,13 @@ assemblyMergeStrategy in assembly := {
|
||||
}
|
||||
|
||||
// JRebel
|
||||
Seq(jrebelSettings: _*)
|
||||
|
||||
jrebel.webLinks += (target in webappPrepare).value
|
||||
jrebel.enabled := System.getenv().get("JREBEL") != null
|
||||
javaOptions in Jetty ++= Option(System.getenv().get("JREBEL")).toSeq.flatMap { path =>
|
||||
Seq("-noverify", "-XX:+UseConcMarkSweepGC", "-XX:+CMSClassUnloadingEnabled", s"-javaagent:${path}")
|
||||
}
|
||||
jrebelSettings
|
||||
|
||||
// Create executable war file
|
||||
val executableConfig = config("executable").hide
|
||||
|
||||
Reference in New Issue
Block a user