blob: e1d31eccad826dca1ef0bb9d48bdff88ae3ca7c6 (
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
|
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 {
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
}
}
}
}
|