Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Belle2017-12-14 21:51:00 +0000
committerJan Belle2017-12-14 21:51:00 +0000
commit8d1cde6da1afc6e63eb4930544bb43922f2154bd (patch)
treef110e06d48627e7463631d974ef1790ee29a04b6 /plugins/build.gradle
parent5ec7fb22f369a60402a06fbfd6992491357ff23f (diff)
downloadorg.eclipse.etrice-8d1cde6da1afc6e63eb4930544bb43922f2154bd.tar.gz
org.eclipse.etrice-8d1cde6da1afc6e63eb4930544bb43922f2154bd.tar.xz
org.eclipse.etrice-8d1cde6da1afc6e63eb4930544bb43922f2154bd.zip
[releng] compile xtend files in gradle build
[runtime.c] moved etStaticDeque documentation to DoxyGen comments Change-Id: Iaa3232d709bce2acf7a00e35fa577ff2a7d15065
Diffstat (limited to 'plugins/build.gradle')
-rw-r--r--plugins/build.gradle41
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/build.gradle b/plugins/build.gradle
new file mode 100644
index 000000000..f1cf52dea
--- /dev/null
+++ b/plugins/build.gradle
@@ -0,0 +1,41 @@
+def xtextProjects = [
+ 'org.eclipse.etrice.core.common',
+ 'org.eclipse.etrice.core.config',
+ 'org.eclipse.etrice.core.etmap',
+ 'org.eclipse.etrice.core.etphys',
+ 'org.eclipse.etrice.core.fsm',
+ 'org.eclipse.etrice.core.room'
+].collect { project it }
+
+subprojects {
+ apply plugin: 'java'
+ apply plugin: 'org.xtext.xtend'
+
+ apply from: "$rootDir/gradle/publish.gradle"
+
+ sourceSets {
+ main {
+ java {
+ srcDir 'src'
+ }
+ }
+ }
+
+ tasks.withType(JavaCompile) {
+ options.encoding = 'cp1252'
+ }
+}
+
+configure(xtextProjects) {
+ sourceSets {
+ main {
+ java {
+ srcDir 'src-gen'
+ }
+ resources {
+ srcDirs = ['src', 'src-gen']
+ include '**/*.xtextbin', '**/*.tokens'
+ }
+ }
+ }
+} \ No newline at end of file

Back to the top