title: "Incremental java compilation is an incubating feature." takes too long for every cordova build Process
body: <p>Every time I build a Cordova project, the build process is stuck for about 8 minutes.<br>
  The last line in the log when this happens is : <code>Incremental java compilation is an incubating feature.</code></p>
  
  <p>Has anybody seen this happen before?</p>
  
  <p>I'm using Visual Studio 2015 and am running on Windows 10 build 14393.10.</p>
  
  <p>my question is why the build proccess takes too long?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>here is the build logs:</p>
  
  <pre><code>1&gt;------ Build started: Project: bazimTest, Configuration: Release Android ------
  1&gt;  Your environment has been set up for using Node.js 4.4.7 (x64) and npm.
  1&gt;  ------ Ensuring correct global installation of package from source package directory: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\ApacheCordovaTools\packages\vs-tac
  1&gt;  ------ Name from source package.json: vs-tac
  1&gt;  ------ Version from source package.json: 1.0.42
  1&gt;  ------ Package already installed globally at correct version.
  1&gt;  ------ Cordova tools 6.3.0 already installed.
  1&gt;  ------ Build Settings:
  1&gt;  ------ Build Settings:
  1&gt;  ------    platformConfigurationBldDir: C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest\bld\Android\Release
  1&gt;  ------    platformConfigurationBinDir: C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest\bin\Android\Release
  1&gt;  ------    buildCommand: build
  1&gt;  ------    platform: Android
  1&gt;  ------    cordovaPlatform: android
  1&gt;  ------    configuration: Release
  1&gt;  ------    cordovaConfiguration: Release
  1&gt;  ------    projectName: bazimTest
  1&gt;  ------    projectSourceDir: C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest
  1&gt;  ------    npmInstallDir: C:\Users\poury\AppData\Roaming\Microsoft\VisualStudio\MDA\vs-npm\2.14.9
  1&gt;  ------    buildTarget: AndroidEmulator
  1&gt;  ------    language: en-US
  1&gt;  ------ Platform android already exists
  1&gt;  ------ Copying native files from C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest\res\native\android to platforms\android
  1&gt;  ------ Done copying native files to platforms\android
  1&gt;  ------ Updating plugins
  1&gt;  ------ Currently installed plugins: cordova-plugin-network-information@1.2.1,cordova-plugin-screen-orientation@1.4.2,cordova-plugin-statusbar@2.1.3,cordova-plugin-x-toast@2.5.2,de.appplant.cordova.plugin.local-notification@0.8.4,cordova-plugin-whitelist@1.2.2
  1&gt;  ------ Currently installed dependent plugins: cordova-plugin-device@1.1.2,cordova-plugin-app-event@1.2.0
  1&gt;  ------ Currently configured plugins:
  1&gt;  ------ Preparing platform: android
  1&gt;  No scripts found for hook "before_build".
  1&gt;  No scripts found for hook "before_prepare".
  1&gt;  Checking config.xml for saved platforms that haven't been added to the project
  1&gt;  Checking for any plugins added to the project that have not been installed in android platform
  1&gt;  No differences found between plugins added to project and installed in android platform. Continuing...
  1&gt;  Generating platform-specific config.xml from defaults for android at C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest\platforms\android\res\xml\config.xml
  1&gt;  Merging project's config.xml into platform-specific android config.xml
  1&gt;  Found "merges/android" folder. Copying its contents into the android project.
  1&gt;  Merging and updating files from [www, platforms\android\platform_www, merges\android] to platforms\android\assets\www
  1&gt;    delete platforms\android\assets\www\VSBuildInfo.xml (no source)
  1&gt;  Wrote out android application name "bazimTest" to C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest\platforms\android\res\values\strings.xml
  1&gt;  android-versionCode not found in config.xml. Generating a code based on version in config.xml (1.0.0): 10000
  1&gt;  Wrote out Android package name "io.cordova.myapp972cd0" to C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest\platforms\android\src\io\cordova\myapp972cd0\MainActivity.java
  1&gt;  Updating icons at platforms\android\res
  1&gt;  Updating splash screens at platforms\android\res
  1&gt;  Prepared android project successfully
  1&gt;  No scripts found for hook "after_prepare".
  1&gt;  Checking config.xml for saved plugins that haven't been added to the project
  1&gt;  ------ Copied C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest\bin\Android\Release\VSBuildInfo.xml to platforms\android\assets\www\VSBuildInfo.xml
  1&gt;  ------ Building platform: android
  1&gt;  Release
  1&gt;  ------ Build configuration options: --release
  1&gt;  No scripts found for hook "before_compile".
  1&gt;  ANDROID_HOME=C:\Android_SDKs
  1&gt;  JAVA_HOME=C:\Program Files\Java\jdk1.8.0_92
  1&gt;  Reading build config file: C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest\build.json
  1&gt;MSBUILD : cordova-build warning : Warning: 'keystore' and 'alias' need to be specified to generate a signed archive.
  1&gt;MDAVSCLI : warning : 'keystore' and 'alias' need to be specified to generate a signed archive.
  1&gt;  Running command: cmd "/s /c ""C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest\platforms\android\gradlew.bat" cdvBuildRelease -b "C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest\platforms\android\build.gradle" -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true""
  1&gt;  Starting a new Gradle Daemon for this build (subsequent builds will be faster).
  1&gt;  Incremental java compilation is an incubating feature.
  1&gt;  :preBuild UP-TO-DATE
  1&gt;  :preReleaseBuild UP-TO-DATE
  1&gt;  :checkReleaseManifest
  1&gt;  :CordovaLib:preBuild UP-TO-DATE
  1&gt;  :CordovaLib:preReleaseBuild UP-TO-DATE
  1&gt;  :CordovaLib:compileReleaseNdk UP-TO-DATE
  1&gt;  :CordovaLib:compileLint
  1&gt;  :CordovaLib:copyReleaseLint UP-TO-DATE
  1&gt;  :CordovaLib:mergeReleaseProguardFiles UP-TO-DATE
  1&gt;  :CordovaLib:packageReleaseRenderscript UP-TO-DATE
  1&gt;  :CordovaLib:checkReleaseManifest
  1&gt;  :CordovaLib:prepareReleaseDependencies
  1&gt;  :CordovaLib:compileReleaseRenderscript UP-TO-DATE
  1&gt;  :CordovaLib:generateReleaseResValues UP-TO-DATE
  1&gt;  :CordovaLib:generateReleaseResources UP-TO-DATE
  1&gt;  :CordovaLib:packageReleaseResources UP-TO-DATE
  1&gt;  :CordovaLib:compileReleaseAidl UP-TO-DATE
  1&gt;  :CordovaLib:generateReleaseBuildConfig UP-TO-DATE
  1&gt;  :CordovaLib:mergeReleaseShaders UP-TO-DATE
  1&gt;  :CordovaLib:compileReleaseShaders UP-TO-DATE
  1&gt;  :CordovaLib:generateReleaseAssets UP-TO-DATE
  1&gt;  :CordovaLib:mergeReleaseAssets UP-TO-DATE
  1&gt;  :CordovaLib:processReleaseManifest UP-TO-DATE
  1&gt;  :CordovaLib:processReleaseResources UP-TO-DATE
  1&gt;  :CordovaLib:generateReleaseSources UP-TO-DATE
  1&gt;  :CordovaLib:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
  1&gt;  :CordovaLib:compileReleaseJavaWithJavac UP-TO-DATE
  1&gt;  :CordovaLib:processReleaseJavaRes UP-TO-DATE
  1&gt;  :CordovaLib:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
  1&gt;  :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
  1&gt;  :CordovaLib:mergeReleaseJniLibFolders UP-TO-DATE
  1&gt;  :CordovaLib:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
  1&gt;  :CordovaLib:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
  1&gt;  :CordovaLib:bundleRelease UP-TO-DATE
  1&gt;  :prepareAndroidCordovaLibUnspecifiedReleaseLibrary
  1&gt;  :preDebugBuild UP-TO-DATE
  1&gt;  :CordovaLib:preDebugBuild UP-TO-DATE
  1&gt;  :CordovaLib:compileDebugNdk UP-TO-DATE
  1&gt;  :CordovaLib:copyDebugLint UP-TO-DATE
  1&gt;  :CordovaLib:mergeDebugProguardFiles UP-TO-DATE
  1&gt;  :CordovaLib:packageDebugRenderscript UP-TO-DATE
  1&gt;  :CordovaLib:checkDebugManifest
  1&gt;  :CordovaLib:prepareDebugDependencies
  1&gt;  :CordovaLib:compileDebugRenderscript UP-TO-DATE
  1&gt;  :CordovaLib:generateDebugResValues UP-TO-DATE
  1&gt;  :CordovaLib:generateDebugResources UP-TO-DATE
  1&gt;  :CordovaLib:packageDebugResources UP-TO-DATE
  1&gt;  :CordovaLib:compileDebugAidl UP-TO-DATE
  1&gt;  :CordovaLib:generateDebugBuildConfig UP-TO-DATE
  1&gt;  :CordovaLib:mergeDebugShaders UP-TO-DATE
  1&gt;  :CordovaLib:compileDebugShaders UP-TO-DATE
  1&gt;  :CordovaLib:generateDebugAssets UP-TO-DATE
  1&gt;  :CordovaLib:mergeDebugAssets UP-TO-DATE
  1&gt;  :CordovaLib:processDebugManifest UP-TO-DATE
  1&gt;  :CordovaLib:processDebugResources UP-TO-DATE
  1&gt;  :CordovaLib:generateDebugSources UP-TO-DATE
  1&gt;  :CordovaLib:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
  1&gt;  :CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
  1&gt;  :CordovaLib:processDebugJavaRes UP-TO-DATE
  1&gt;  :CordovaLib:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
  1&gt;  :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
  1&gt;  :CordovaLib:mergeDebugJniLibFolders UP-TO-DATE
  1&gt;  :CordovaLib:transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE
  1&gt;  :CordovaLib:transformNative_libsWithSyncJniLibsForDebug UP-TO-DATE
  1&gt;  :CordovaLib:bundleDebug UP-TO-DATE
  1&gt;  :prepareComAndroidSupportSupportV42411Library UP-TO-DATE
  1&gt;  :prepareReleaseDependencies
  1&gt;  :compileReleaseAidl
  1&gt;  :compileReleaseRenderscript
  1&gt;  :generateReleaseBuildConfig
  1&gt;  :mergeReleaseShaders
  1&gt;  :compileReleaseShaders
  1&gt;  :generateReleaseAssets
  1&gt;  :mergeReleaseAssets
  1&gt;  :generateReleaseResValues
  1&gt;  :generateReleaseResources
  1&gt;  :mergeReleaseResources
  1&gt;  :processReleaseManifest
  1&gt;  :processReleaseResources
  1&gt;  :generateReleaseSources
  1&gt;  :incrementalReleaseJavaCompilationSafeguard
  1&gt;  :compileReleaseJavaWithJavac
  1&gt;  :compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
  1&gt;  :compileReleaseNdk UP-TO-DATE
  1&gt;  :compileReleaseSources
  1&gt;  :lintVitalRelease
  1&gt;  :prePackageMarkerForRelease
  1&gt;  :transformClassesWithDexForRelease
  1&gt;  To run dex in process, the Gradle daemon needs a larger heap.
  1&gt;  It currently has approximately 455 MB.
  1&gt;  For faster builds, increase the maximum heap size for the Gradle daemon to more than 2048 MB.
  1&gt;  To do this set org.gradle.jvmargs=-Xmx2048M in the project gradle.properties.
  1&gt;  For more information see https://docs.gradle.org/current/userguide/build_environment.html
  1&gt;
  1&gt;
  1&gt;  :mergeReleaseJniLibFolders
  1&gt;  :transformNative_libsWithMergeJniLibsForRelease
  1&gt;  :processReleaseJavaRes UP-TO-DATE
  1&gt;  :transformResourcesWithMergeJavaResForRelease
  1&gt;  :packageRelease
  1&gt;  :assembleRelease
  1&gt;  :cdvBuildRelease
  1&gt;
  1&gt;  BUILD SUCCESSFUL
  1&gt;
  1&gt;  Total time: 6 mins 5.343 secs
  1&gt;  Command finished with error code 0: cmd /s /c ""C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest\platforms\android\gradlew.bat" cdvBuildRelease -b "C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest\platforms\android\build.gradle" -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"
  1&gt;  Built the following apk(s):
  1&gt;      C:/Users/poury/Documents/Visual Studio 2015/Projects/bazimTest/bazimTest/platforms/android/build/outputs/apk/android-release-unsigned.apk
  1&gt;  No scripts found for hook "after_build".
  1&gt;  No scripts found for hook "after_compile".
  1&gt;  ------ Copying back to project: Android
  1&gt;  ------ Copied platforms\android\build\outputs\apk\android-debug-unaligned.apk to C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest\bin\Android\Release\android-debug-unaligned.apk
  1&gt;  ------ Copied platforms\android\build\outputs\apk\android-debug.apk to C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest\bin\Android\Release\android-debug.apk
  1&gt;  ------ Copied platforms\android\build\outputs\apk\android-release-unsigned.apk to C:\Users\poury\Documents\Visual Studio 2015\Projects\bazimTest\bazimTest\bin\Android\Release\android-release-unsigned.apk
  1&gt;  ------ Done copying compiled files: Android
  ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
  </code></pre>