public void load(final File file) {
final Properties properties = new Properties();
try (final InputStream in = new FileInputStream(file)) {
properties.load(in);
} catch (IOException e) {
throw new GradleException(format(
"Error while reading propertie file '%s'", file), e
);
}
for (final Map.Entry<Object, Object> entry : properties.entrySet()) {