2017-01-11 12:34:05 +00:00
|
|
|
apply from: "${rootDir}/gradle/mwe2-workflows.gradle"
|
|
|
|
|
2016-06-10 08:48:34 +00:00
|
|
|
dependencies {
|
2021-08-10 10:02:12 +00:00
|
|
|
api project(':org.eclipse.xtext')
|
|
|
|
api project(':org.eclipse.xtext.testing')
|
|
|
|
api 'org.eclipse.platform:org.eclipse.equinox.common'
|
|
|
|
api 'org.eclipse.platform:org.eclipse.core.runtime'
|
|
|
|
api 'org.eclipse.emf:org.eclipse.emf.mwe2.runtime'
|
2016-06-10 08:48:34 +00:00
|
|
|
}
|
2016-06-17 16:07:05 +00:00
|
|
|
|
2017-01-11 12:34:05 +00:00
|
|
|
// 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'
|
|
|
|
}
|
2021-08-10 10:02:12 +00:00
|
|
|
|
|
|
|
compileJava.mustRunAfter generateTestLanguages
|