tune gradle build test JVM settings
fix travis build