Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a58cde73850f39f9df79a8f0b6e8dc9cf9abcf72 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
pluginManagement {
	repositories {
		// mavenLocal()
		gradlePluginPortal()
	}
	plugins {
		id "org.xtext.xtend" version "2.0.8"
		id "pl.allegro.tech.build.axion-release" version "1.11.0"
		id "com.github.dkorotych.gradle-maven-exec" version "2.2.1"
		id "org.hidetake.ssh" version "2.10.1"
		id "de.protos.etrice-base" version "2.2.0"
		id "de.protos.etrice-c" version "2.2.0"
		id "de.protos.etrice-java" version "2.2.0"
		id "de.protos.source-publish" version "2.2.0"
		id "de.protos.etunit-convert" version "2.2.0"
	}
}

include	'plugins:org.eclipse.etrice.core.common',
	'plugins:org.eclipse.etrice.core.common.ide',
	'plugins:org.eclipse.etrice.core.fsm',
	'plugins:org.eclipse.etrice.core.fsm.ide',
	'plugins:org.eclipse.etrice.core.room',
	'plugins:org.eclipse.etrice.core.room.ide',
	'plugins:org.eclipse.etrice.core.config',
	'plugins:org.eclipse.etrice.core.config.ide',
	'plugins:org.eclipse.etrice.core.etphys',
	'plugins:org.eclipse.etrice.core.etphys.ide',
	'plugins:org.eclipse.etrice.core.genmodel.fsm',
	'plugins:org.eclipse.etrice.core.genmodel',
	'plugins:org.eclipse.etrice.core.etmap',
	'plugins:org.eclipse.etrice.core.etmap.ide',
	'plugins:org.eclipse.etrice.generator.fsm',
	'plugins:org.eclipse.etrice.generator',
	'plugins:org.eclipse.etrice.generator.base',
	'plugins:org.eclipse.etrice.generator.config',
	'plugins:org.eclipse.etrice.generator.doc',
	'plugins:org.eclipse.etrice.generator.c',
	'plugins:org.eclipse.etrice.generator.cpp',
	'plugins:org.eclipse.etrice.generator.java',
	'plugins:org.eclipse.etrice.generator.contractmonitor',
	'plugins:org.eclipse.etrice.abstractexec.behavior',
	'plugins:org.eclipse.etrice.etunit.converter',
	
	'runtime:org.eclipse.etrice.modellib.c',
	'runtime:org.eclipse.etrice.modellib.cpp',
	'runtime:org.eclipse.etrice.modellib.java',
	'runtime:org.eclipse.etrice.runtime.c',
	'runtime:org.eclipse.etrice.runtime.cpp',
	'runtime:org.eclipse.etrice.runtime.java',
	
	'examples:org.eclipse.etrice.examples.c',
	'examples:org.eclipse.etrice.examples.java',
	'examples:org.eclipse.etrice.template.c',
	'examples:org.eclipse.etrice.template.cpp',
	'examples:org.eclipse.etrice.tutorials.c',
	'examples:org.eclipse.etrice.tutorials.cpp',
	'examples:org.eclipse.etrice.tutorials.java',
	'examples:org.eclipse.etrice.tutorials.simulators.trafficlight',
	
	'tests:org.eclipse.etrice.runtime.c.tests',
	'tests:org.eclipse.etrice.runtime.cpp.tests',
	'tests:org.eclipse.etrice.runtime.java.tests',
	
	'tests:org.eclipse.etrice.generator.common.tests',
	'tests:org.eclipse.etrice.generator.c.tests',
	'tests:org.eclipse.etrice.generator.cpp.tests',
	'tests:org.eclipse.etrice.generator.java.tests',
	
	'releng:org.eclipse.etrice.releng',
	'releng:org.eclipse.etrice.site'

// Include selected platforms of the c runtime as individual subprojects
def runtime = project(':runtime:org.eclipse.etrice.runtime.c')
['MT_POSIX_GENERIC_GCC',
 'MT_WIN_MinGW',
 'MT_32Bit_FreeRTOS_Generic',
 'ST_32Bit_Generic'
].each { platform ->
	def name = platform.toLowerCase().replace('_', '-')
	def path = "${runtime.path}:${name}"
	def dir = file("${runtime.projectDir}/src/platforms/${platform}")
	include path
	project(path).projectDir = dir
}

Back to the top