Removed manual deletion of gradle.properties (bug fixed) and added testing for both openjdk7 and oraclejdk7.