-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
65 lines (54 loc) · 1.16 KB
/
build.gradle
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.xtext:xtext-gradle-plugin:2.0.8'
}
}
plugins {
id 'org.ec4j.editorconfig' version '0.0.3'
id 'org.xtext.builder' version '2.0.8'
}
editorconfig {
excludes = [
'**/generated',
'**/xtext-gen',
'**/bin',
'**/.*',
'gradlew*',
'**/out',
'**/node_modules',
'**/*.vsix'
]
}
check.dependsOn(editorconfigCheck)
subprojects {
ext.xtextVersion = '2.23.0'
repositories {
mavenCentral()
}
apply plugin: 'java'
dependencies {
compile platform("org.eclipse.xtext:xtext-dev-bom:${xtextVersion}")
}
apply plugin: 'org.xtext.builder'
apply from: "${rootDir}/gradle/source-layout.gradle"
apply plugin: 'eclipse'
apply plugin: 'checkstyle'
group = 'org.metafacture.flux'
version = '1.0.0-SNAPSHOT'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
configurations.all {
exclude group: 'asm'
}
checkstyle {
toolVersion '8.30'
}
}
task installServer(type: Copy) {
dependsOn(':org.metafacture.flux.ide:installDist')
from "org.metafacture.flux.ide/build/install/xtext-server"
into "org.metafacture.flux.vsc/xtext-server"
}