xtext-core/org.eclipse.xtext.testlanguages/build.gradle

18 lines
651 B
Groovy
Raw Permalink Normal View History

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