.disablePlugins(plugins.JUnitXmlReportPlugin)
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/8861a8a0-54e0-4dbd-a0d4-35036c3a288f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/CAE5q7xr9GBWm13g0tjzjxr_y_DLO7xEmuUytUbL8kN-E%2BUdbuw%40mail.gmail.com.
proguardSettings
ProguardKeys.options in Proguard ++= Seq("-dontnote", "-dontwarn", "-ignorewarnings", "-dontobfuscate")
ProguardKeys.proguardVersion in Proguard := "5.3.3"
inConfig(Proguard)(javaOptions in ProguardKeys.proguard := Seq("-Xmx2g"))
ProguardKeys.merge in Proguard := true
ProguardKeys.options in Proguard += ProguardOptions.keepMain("play.core.server.ProdServerStart")
ProguardKeys.mergeStrategies in Proguard += ProguardMerge.append("reference.conf")
ProguardKeys.mergeStrategies in Proguard += ProguardMerge.append("play/reference-overrides.conf")
ProguardKeys.mergeStrategies in Proguard += ProguardMerge.discard("LICENSE")
ProguardKeys.mergeStrategies in Proguard += ProguardMerge.discard("logback-test.xml")
ProguardKeys.mergeStrategies in Proguard += ProguardMerge.discard("logback.xml")
ProguardKeys.mergeStrategies in Proguard += ProguardMerge.discard("META-INF/*".r)
ProguardKeys.mergeStrategies in Proguard += ProguardMerge.discard("org/apache/commons/logging/*".r)
ProguardKeys.mergeStrategies in Proguard += ProguardMerge.discard("org/slf4j/impl/*".r)
ProguardKeys.mergeStrategies in Proguard += ProguardMerge.discard("play/api/libs/ws/package.class")
ProguardKeys.mergeStrategies in Proguard += ProguardMerge.discard("play/api/libs/ws/package$.class")
You can also use proguard to cut down the size of your deployable artifact:
On Fri, Jul 21, 2017 at 1:06 PM, Marcos Pereira <marcos....@lightbend.com> wrote:
sbt-dependency-graph can help you here:https://github.com/jrudolph/sbt-dependency-graphYou can better see your dependency tree and then exclude what you don't need.Best.
On Sun, Jul 16, 2017 at 9:29 AM, Koen De Groote <kdg...@gmail.com> wrote:
I'm working on a project where I'm really only accessing databases.During compilation, I saw sbt resolved htmlunit and other stuff that made me think "I don't need this in this project"Is there a comprehensive list somewhere with things I could disable?I've only found
.disablePlugins(plugins.JUnitXmlReportPlugin)And I don't really know what the others are called. I'm only using the framework to access an SQL database, so I'm using Ebean, cache, jdbc, WS and filters, but that's it really.I wonder what I could disable and if it would result in a lighter application?
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/8861a8a0-54e0-4dbd-a0d4-35036c3a288f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Marcos PereiraSoftware Engineer, Lightbend.com
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.