Set DEFAULT_JVM_OPTS instead of GRADLE_OPTS

  - GRADLE_OPTS doesn't seem to work well for tweakign memory settings
    of the daemon.
Fix duplicate files / bad filter operation.