Project: titanium
Issue TIMOB-14979: Android Build: Build Java files and run dexer
* if need to build java files and dex (TIMOB-2209 Android: Re-enable incremental build) ** build generated classes (aka compile java source) *** if any modules, update the classpath *** add "titanium-verify.jar" to classpath *** if not production, add debug and profiler jars *** if production and proguard enabled, allow proguard to run (TIMOB-2782 Android: Generate / Run a Proguard configuration based on API usage) *** run javac on .java files **** build for all desired abis (TIMOB-15305 Android: Add x86 support to Distribution Build) **** NOTE: make sure spaces work, otherwise detect if path has spaces and error before build (TIMOB-3180 Android: JAVA_HOME not recognized when launching some Android applications) ** make sure jars aren't included twice before running dexer (TIMOB-14963 Android: Ti.Map and Ti.Cloudpush return "already added: Lcom/google/android/gms/games/achievement/Achievement") ** fire "build.android.dexer" function hook *** run dexer
Story points: 5