-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathbuild.gradle
More file actions
49 lines (39 loc) · 1.1 KB
/
build.gradle
File metadata and controls
49 lines (39 loc) · 1.1 KB
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
41
42
43
44
45
46
47
48
49
plugins {
id "java"
id "eclipse"
id "org.xtext.builder" version "3.0.2"
}
group = 'org.contextmapper'
version = '1.0.0-SNAPSHOT'
sourceCompatibility = '11'
targetCompatibility = '11'
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
xtextLanguages "org.contextmapper:context-mapper-dsl:${cmlVersion}"
implementation "org.eclipse.xtend:org.eclipse.xtend.lib:${xtendLibVersion}"
implementation "org.contextmapper:context-mapper-dsl:${cmlVersion}"
implementation "commons-lang:commons-lang:${commonsLangVersion}"
implementation "commons-cli:commons-cli:${commonsCliVersion}"
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'
}
}
}
test {
useJUnitPlatform()
}