forked from eclipse-xtext/xtext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (35 loc) · 816 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
allprojects {
ext.isBuildServer = System.getenv("JOB_NAME") != null
buildscript {
repositories {
if (!isBuildServer) {
mavenLocal()
}
jcenter()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
}
group = 'org.eclipse.xtext'
version = '2.9.0-SNAPSHOT'
repositories.addAll(rootProject.buildscript.repositories)
plugins.withType(JavaPlugin) {
project.apply from: "${rootDir}/gradle/eclipse-project-layout.gradle"
sourceCompatibility = 1.6
tasks.withType(JavaCompile) {
options.encoding = 'ISO-8859-1'
}
tasks.withType(Test) {
if (isBuildServer) {
ignoreFailures = true
}
}
}
}
task buckminsterBuild << {
ant.ant(
antfile: 'releng/org.eclipse.xtext.releng/releng/ant/xtext-build.ant',
target: 'resolve-and-compile-all'
)
}