travis yml and gradle files changed for distJar