I have tested my app with Google+ login. So I added a signature for debugging. The application is assembled after ~ 26 seconds.
build.gradle Module: application file
signingConfigs { debug { storeFile file(project.property("MyApp.signing")) storePassword project.property("MyApp.signing.password") keyAlias project.property("MyApp.signing.alias") keyPassword project.property("MyApp.signing.password") } }
When I delete it ~ 7.5 seconds.
Next I tested the standalone class
File - Settings - assembly, execution ... - Assembly tools - Gradle - Work offline

Now my application is compiled in ~ 4.5 seconds.
Of course, I also added the inclusion - Compile independent modules in parallel (a larger heap size may be required) - Make the project automatically (only works when there is no / debugging)
File - Settings - assembly, execution ... - compiler

EliaszKubala Dec 10 '15 at 9:03 2015-12-10 09:03
source share