xtext-core/org.eclipse.xtext.testlanguages/build.gradle
Moritz Eysholdt 6e1c95670e Moved Ecore support to test languages
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-11 11:58:03 +02:00

16 lines
632 B
Groovy

apply from: "${rootDir}/gradle/mwe2-workflows.gradle"
dependencies {
compile project(':org.eclipse.xtext')
compile project(':org.eclipse.xtext.testing')
compile "org.eclipse.platform:org.eclipse.core.runtime:$versions.eclipseCore"
compile "org.eclipse.emf:org.eclipse.emf.mwe2.runtime:$versions.emfMwe2"
}
// Include the mwe2 and xtext files from the main source set when executing the workflow
sourceSets.mwe2.runtimeClasspath += processResources.outputs.files
task generateTestLanguages(type: XtextGeneratorTask) {
workflow = file('src/org/eclipse/xtext/testlanguages/GenerateTestLanguages.mwe2')
outputs.dir 'src-gen'
}