All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dle.pride.pride-core.0.9.13.source-code.build.gradle Maven / Gradle / Ivy

group "pride"

if (!hasProperty("pride.disable")) {
	allprojects {
		// HACK This is so that local projects will always override external projects
		version = String.valueOf(Short.MAX_VALUE)
	}
}

// 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