You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a bug, but an enhancement information wrt Android Development. When the scala dependency is added to gradle build file: compile 'org.scala-lang:scala-library:2.11.6'
A lot of not needed files such as html documentation ends up in the apk making it bigger by 800k or more. The solution was to remove the scala folder in the apk by making use of these excludes given at the end.
However I do not know if I have exclude important files. My code works without those files.
I was wondering if you could add a feature to your plugin so that scala doc and other cruft does not end up in the final apk.
Also I thank you for your amazing work on this plugin. Thanks.
Hi,
This is not a bug, but an enhancement information wrt Android Development. When the scala dependency is added to gradle build file: compile 'org.scala-lang:scala-library:2.11.6'
A lot of not needed files such as html documentation ends up in the apk making it bigger by 800k or more. The solution was to remove the scala folder in the apk by making use of these excludes given at the end.
However I do not know if I have exclude important files. My code works without those files.
I was wondering if you could add a feature to your plugin so that scala doc and other cruft does not end up in the final apk.
Also I thank you for your amazing work on this plugin. Thanks.
packagingOptions {
exclude 'scala'
exclude 'scala-async.properties'
exclude 'scala-parser-combinators.properties'
exclude 'scala-xml.properties'
exclude 'scala/tools'
exclude 'scala/tools/ant'
exclude 'scala/tools/ant/antlib.xml'
exclude 'scala/tools/ant/sabbus'
exclude 'scala/tools/ant/sabbus/antlib.xml'
exclude 'scala/tools/ant/templates'
exclude 'scala/tools/ant/templates/tool-unix.tmpl'
exclude 'scala/tools/ant/templates/tool-windows.tmpl'
exclude 'scala/tools/nsc'
exclude 'scala/tools/nsc/doc'
exclude 'scala/tools/nsc/doc/html'
exclude 'scala/tools/nsc/doc/html/resource'
exclude 'scala/tools/nsc/doc/html/resource/lib'
exclude 'scala/tools/nsc/doc/html/resource/lib/arrow-down.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/arrow-right.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/class.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/class_big.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/class_diagram.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/class_to_object_big.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/constructorsbg.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/conversionbg.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/defbg-blue.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/defbg-green.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/diagrams.css'
exclude 'scala/tools/nsc/doc/html/resource/lib/diagrams.js'
exclude 'scala/tools/nsc/doc/html/resource/lib/filter_box_left.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/filter_box_left2.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/filter_box_right.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/filterbg.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/filterboxbarbg.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/filterboxbarbg.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/filterboxbg.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/fullcommenttopbg.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/index.css'
exclude 'scala/tools/nsc/doc/html/resource/lib/index.js'
exclude 'scala/tools/nsc/doc/html/resource/lib/jquery-ui.js'
exclude 'scala/tools/nsc/doc/html/resource/lib/jquery.js'
exclude 'scala/tools/nsc/doc/html/resource/lib/jquery.layout.js'
exclude 'scala/tools/nsc/doc/html/resource/lib/modernizr.custom.js'
exclude 'scala/tools/nsc/doc/html/resource/lib/navigation-li-a.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/navigation-li.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/object.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/object_big.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/object_diagram.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/object_to_class_big.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/object_to_trait_big.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/object_to_type_big.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/ownderbg2.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/ownerbg.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/ownerbg2.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/package.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/package_big.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/packagesbg.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/raphael-min.js'
exclude 'scala/tools/nsc/doc/html/resource/lib/ref-index.css'
exclude 'scala/tools/nsc/doc/html/resource/lib/remove.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/scheduler.js'
exclude 'scala/tools/nsc/doc/html/resource/lib/selected-implicits.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/selected-right-implicits.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/selected-right.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/selected.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/selected2-right.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/selected2.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/signaturebg.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/signaturebg2.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/template.css'
exclude 'scala/tools/nsc/doc/html/resource/lib/template.js'
exclude 'scala/tools/nsc/doc/html/resource/lib/tools.tooltip.js'
exclude 'scala/tools/nsc/doc/html/resource/lib/trait.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/trait_big.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/trait_diagram.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/trait_to_object_big.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/type.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/type_big.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/type_diagram.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/type_to_object_big.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/typebg.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/unselected.png'
exclude 'scala/tools/nsc/doc/html/resource/lib/valuemembersbg.gif'
exclude 'scala/tools/nsc/doc/html/resource/lib/versions.txt'
exclude 'scalac-plugin.xml'
exclude 'scaladoc.properties'
}
The text was updated successfully, but these errors were encountered: