-
-
Notifications
You must be signed in to change notification settings - Fork 78
/
build.gradle
40 lines (32 loc) · 910 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
plugins {
id "java"
id "org.xtext.builder" version "3.0.2"
}
group 'org.contextmapper.dsl'
version '1.0-SNAPSHOT'
sourceCompatibility = '11'
targetCompatibility = '11'
repositories {
jcenter()
}
dependencies {
xtextLanguages "org.contextmapper:context-mapper-dsl:${cmlVersion}"
implementation "org.eclipse.xtend:org.eclipse.xtend.lib:${xtendLibVersion}"
implementation "org.contextmapper:context-mapper-dsl:${cmlVersion}"
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
}
xtext {
languages {
cml {
fileExtension = 'cml'
setup = 'org.contextmapper.dsl.ContextMappingDSLStandaloneSetup'
generator.outlet.producesJava = true
}
}
sourceSets {
main {
srcDir 'src/main/cml'
}
}
}