Commit 87c97ff0 authored by Jan Belle's avatar Jan Belle
Browse files

[core] Add generic ide projects to Gradle build

The generic ide projects are necessary to run an Xtext language server
for eTrice. Therefore we also publish them to the Eclipse Nexus.

Bug 562962

Change-Id: Ibcae409f8e468e1a945c0aeb6339b74ee6b9fb69
parent 33bbb22d
......@@ -4,11 +4,17 @@ plugins {
def xtextProjects = [
'org.eclipse.etrice.core.common',
'org.eclipse.etrice.core.common.ide',
'org.eclipse.etrice.core.config',
'org.eclipse.etrice.core.config.ide',
'org.eclipse.etrice.core.etmap',
'org.eclipse.etrice.core.etmap.ide',
'org.eclipse.etrice.core.etphys',
'org.eclipse.etrice.core.etphys.ide',
'org.eclipse.etrice.core.fsm',
'org.eclipse.etrice.core.room'
'org.eclipse.etrice.core.fsm.ide',
'org.eclipse.etrice.core.room',
'org.eclipse.etrice.core.room.ide'
].collect { project it }
subprojects {
......@@ -44,8 +50,8 @@ configure(xtextProjects) {
}
resources {
srcDirs = ['src', 'src-gen', 'model']
include '**/*.xtextbin', '**/*.tokens', '**/*.genmodel', '**/*.ecore'
exclude '**/*.g', '**/*.mwe2', '**/*.xtend', '**/*._trace'
}
}
}
}
\ No newline at end of file
}
dependencies {
api project(':plugins:org.eclipse.etrice.core.common')
api "org.eclipse.xtext:org.eclipse.xtext.ide:${versions.xtext}"
api "org.eclipse.xtext:org.eclipse.xtext.xbase.ide:${versions.xtext}"
}
\ No newline at end of file
dependencies {
api project(':plugins:org.eclipse.etrice.core.config')
api "org.eclipse.xtext:org.eclipse.xtext.ide:${versions.xtext}"
api "org.eclipse.xtext:org.eclipse.xtext.xbase.ide:${versions.xtext}"
}
\ No newline at end of file
dependencies {
api project(':plugins:org.eclipse.etrice.core.etmap')
api "org.eclipse.xtext:org.eclipse.xtext.ide:${versions.xtext}"
api "org.eclipse.xtext:org.eclipse.xtext.xbase.ide:${versions.xtext}"
}
\ No newline at end of file
dependencies {
api project(':plugins:org.eclipse.etrice.core.etphys')
api "org.eclipse.xtext:org.eclipse.xtext.ide:${versions.xtext}"
api "org.eclipse.xtext:org.eclipse.xtext.xbase.ide:${versions.xtext}"
}
\ No newline at end of file
dependencies {
api project(':plugins:org.eclipse.etrice.core.fsm')
api "org.eclipse.xtext:org.eclipse.xtext.ide:${versions.xtext}"
api "org.eclipse.xtext:org.eclipse.xtext.xbase.ide:${versions.xtext}"
}
\ No newline at end of file
dependencies {
api project(':plugins:org.eclipse.etrice.core.room')
api "org.eclipse.xtext:org.eclipse.xtext.ide:${versions.xtext}"
api "org.eclipse.xtext:org.eclipse.xtext.xbase.ide:${versions.xtext}"
}
\ No newline at end of file
......@@ -17,13 +17,19 @@ pluginManagement {
}
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',
......@@ -62,4 +68,4 @@ include 'plugins:org.eclipse.etrice.core.common',
'tests:org.eclipse.etrice.generator.java.tests',
'releng:org.eclipse.etrice.releng',
'releng:org.eclipse.etrice.site'
\ No newline at end of file
'releng:org.eclipse.etrice.site'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment