Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0deaf5a02ac327906e8d7ddf7ce4b2e794660f5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
plugins {
	id 'org.xtext.xtend' version '2.0.7' apply false
	id 'com.github.dkorotych.gradle-maven-exec' version '2.2.1'
	id 'org.hidetake.ssh' version '2.10.1'
}

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