-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathbuild.gradle
46 lines (38 loc) · 1006 Bytes
/
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
plugins {
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
dependencies {
implementation project(':metafix')
implementation "org.eclipse.xtext:org.eclipse.xtext.ide:${versions.xtext}"
implementation "org.eclipse.xtext:org.eclipse.xtext.xbase.ide:${versions.xtext}"
}
apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'
apply from: "${rootDir}/gradle/metafix.gradle"
application {
mainClass = 'org.eclipse.xtext.ide.server.ServerLauncher'
applicationName = 'xtext-server'
}
shadowJar {
from(sourceSets.main.output)
configurations = [project.configurations.runtimeClasspath]
exclude(
'*.html',
'*.profile',
'.api_description',
'.options',
'META-INF/*.DSA',
'META-INF/*.RSA',
'META-INF/*.SF',
'META-INF/INDEX.LIST',
'about.*',
'about_files/*',
'modeling32.png',
'plugin.xml',
'profile.list',
'schema/*',
'systembundle.properties'
)
archiveClassifier = 'ls'
append('plugin.properties')
}