blob: de2a7fb3627afd04d5bf16ae04bb005db3e7ac27 (
plain) (
blame)
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
|
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.xtext:xtext-gradle-plugin:2.0.9-alpha.3'
}
}
subprojects {
ext.xtextVersion = '2.26.0.M1'
ext.hamcrestVersion = '2.2'
repositories {
mavenCentral()
}
apply plugin: 'java'
dependencies {
compile platform("org.eclipse.xtext:xtext-dev-bom:${xtextVersion}")
}
apply plugin: 'org.xtext.xtend'
apply from: "${rootDir}/gradle/source-layout.gradle"
apply plugin: 'eclipse'
group = 'org.eclipse.viatra.solver'
version = '1.0.0-SNAPSHOT'
sourceCompatibility = '11'
targetCompatibility = '11'
configurations.all {
exclude group: 'asm'
}
eclipse.classpath.file.whenMerged {
for (entry in entries) {
if (entry.path.endsWith('xtext-gen')) {
entry.entryAttributes['ignore_optional_problems'] = true
}
}
}
}
|