-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
60 lines (50 loc) · 1.22 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
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter()
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'org.multi-os-engine:moe-gradle:1.3.1'
classpath 'org.xtext:xtext-gradle-plugin:1.0.17'
classpath 'ch.raffael.pegdown-doclet:pegdown-doclet:1.2'
}
}
apply plugin: 'org.xtext.xtend'
apply plugin: "eclipse"
apply plugin: "idea"
apply plugin: 'ch.raffael.pegdown-doclet'
version = '1.0'
ext {
appName = "no-app"
javaVersion='1.8'
xtendVersion='2.11.0'
}
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
eclipse.project.name = rootProject.name + '-' + project.name
// tasks.cleanEclipse.dependsOn(clean)
tasks.eclipse.dependsOn(cleanEclipse)
xtend {
preferences = [ 'useJavaCompilerCompliance':true ]
}
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
}
dependencies {
compile "org.eclipse.xtend:org.eclipse.xtend.lib:${xtendVersion}"
}
apply plugin: "moe"
moe {
proguardLevel 'app'
packaging {
excludes = ['META-INF/ECLIPSE_.SF']
}
}