Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: f6c1440d8de7c5a84ad1f505bca87e8190be7c9b (plain) (tree)
1
2
3
4
5
6
7
8
9
         


                                                 

 
                                               
                                             
 


                                               

                                                             










                                                                                               








                                    


                                                                                          
         
 
plugins {
	id "pl.allegro.tech.build.axion-release"
	id "de.protos.etrice-base" apply false
	id "de.protos.etunit-convert" apply false
}

apply from: "$rootDir/gradle/scmVersion.gradle"
apply from: "$rootDir/gradle/versions.gradle"

/**
 * Requires property 'additionalPropertiesFile'
 */
def loadAdditionalPropertiesFile() {
	if(project.hasProperty('additionalPropertiesFile')) {
		def props = new Properties()
		file(additionalPropertiesFile).withInputStream {
			stream -> props.load(stream)
		}
		props.each { entry ->
			project.ext[entry.key] = entry.value
		}
		println "Loaded properties from ${additionalPropertiesFile}: ${props.keySet()}"
	}
}

loadAdditionalPropertiesFile()

allprojects {
	apply plugin: 'base'

	group = 'org.eclipse.etrice'
	version = scmVersion.version
	
	repositories {
		maven {
			url 'https://repo.eclipse.org/content/repositories/maven_central/'
		}
	}
}

Back to the top