blob: 521ad7ff4a4f38b5e3ba6e171d987184a295816f (
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
45
46
47
48
49
|
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.xtext:xtext-gradle-plugin:2.0.9-alpha.3'
}
}
plugins {
id 'com.github.johnrengelman.shadow' version '5.2.0' apply false
id 'com.moowork.node' version "1.3.1" apply false
}
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
}
}
}
}
|