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