DefaultGradleExtensions () { DefaultGradleExtensions gradleExtensions = new DefaultGradleExtensions(); gradleExtensions.setParentProjectPath(readString(reader, "parentProjectPath")); gradleExtensions.getConfigurations().addAll(readConfigurations(reader, context)); gradleExtensions.getConventions().addAll(readConventions(reader, context)); gradleExtensions.getExtensions().addAll(readExtensions(reader, context)); gradleExtensions.getGradleProperties().addAll(readGradleProperties(reader, context)); // do not read tasks, as it will be added from ExternalProject model at BaseGradleProjectResolverExtension.populateModuleExtraModels return gradleExtensions; }