de.pride-core.0.11.source-code.build.gradle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pride-core Show documentation
Show all versions of pride-core Show documentation
Pride manages multiple Gradle modules as a single Gradle project
group "pride"
// Load gradle.properties for each project
childProjects.each { _, Project child ->
def propertiesFile = new File(child.projectDir, GRADLE_PROPERTIES)
if (propertiesFile.exists()) {
child.logger.info "Setting properties from ${propertiesFile} for project ${child.path}"
propertiesFile.withInputStream { stream ->
def properties = new Properties()
properties.load(stream)
properties.each { String key, value ->
child.logger.debug "\tsetting ${child.path}/${key} = ${value}"
child.setProperty(key, value)
}
}
}
}
// Required to be able to do nothing during refreshing dependencies
task doNothing
© 2015 - 2024 Weber Informatics LLC | Privacy Policy