diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/build.gradle b/build.gradle index e1d31ecc..1736d644 100644 --- a/build.gradle +++ b/build.gradle | |||
@@ -12,35 +12,7 @@ plugins { | |||
12 | id 'com.moowork.node' version "1.3.1" apply false | 12 | id 'com.moowork.node' version "1.3.1" apply false |
13 | } | 13 | } |
14 | 14 | ||
15 | subprojects { | 15 | allprojects { |
16 | repositories { | ||
17 | mavenCentral() | ||
18 | } | ||
19 | |||
20 | apply plugin: 'java' | ||
21 | dependencies { | ||
22 | compile platform("org.eclipse.xtext:xtext-dev-bom:${xtextVersion}") | ||
23 | } | ||
24 | |||
25 | apply plugin: 'org.xtext.xtend' | ||
26 | apply from: "${rootDir}/gradle/source-layout.gradle" | ||
27 | apply plugin: 'eclipse' | ||
28 | |||
29 | group = 'org.eclipse.viatra.solver' | 16 | group = 'org.eclipse.viatra.solver' |
30 | version = '1.0.0-SNAPSHOT' | 17 | version = '1.0.0-SNAPSHOT' |
31 | |||
32 | sourceCompatibility = '11' | ||
33 | targetCompatibility = '11' | ||
34 | |||
35 | configurations.all { | ||
36 | exclude group: 'asm' | ||
37 | } | ||
38 | |||
39 | eclipse.classpath.file.whenMerged { | ||
40 | for (entry in entries) { | ||
41 | if (entry.path.endsWith('xtext-gen')) { | ||
42 | entry.entryAttributes['ignore_optional_problems'] = true | ||
43 | } | ||
44 | } | ||
45 | } | ||
46 | } | 18 | } |