forked from apache/gobblin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
73 lines (60 loc) · 2.74 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
66
67
68
69
70
71
72
73
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
apply from: 'gradle/scripts/environment.gradle'
buildscript {
apply from: 'gradle/scripts/repositories.gradle'
apply from: 'gradle/scripts/defaultBuildProperties.gradle'
apply from: 'gradle/scripts/computeVersions.gradle'
buildscript.repositories.addAll(project.repositories)
dependencies {
classpath 'org.apache.ant:ant:1.9.4'
classpath 'gradle.plugin.org.inferred:gradle-processors:1.1.2'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:1.0.2'
classpath 'gradle.plugin.com.palantir:jacoco-coverage:0.3.0'
classpath 'io.spring.gradle:dependency-management-plugin:0.5.4.RELEASE'
classpath 'me.champeau.gradle:jmh-gradle-plugin:0.3.1'
}
}
apply from: 'gradle/scripts/repositories.gradle'
apply plugin: 'org.inferred.processors'
apply plugin: 'io.spring.dependency-management'
apply from: 'gradle/scripts/configureSubprojects.gradle'
apply from: 'gradle/scripts/idesSetup.gradle'
apply from: 'gradle/scripts/jacoco-coveralls-support.gradle'
apply from: 'gradle/scripts/dependencyDefinitions.gradle'
apply from: 'gradle/scripts/restli.gradle'
apply from: 'gradle/scripts/testSetup.gradle'
apply from: 'gradle/scripts/globalDependencies.gradle'
apply from: 'gradle/scripts/javaPlugin.gradle'
apply from: 'gradle/scripts/utilities.gradle'
apply from: 'gradle/scripts/javadoc.gradle'
apply from: 'gradle/scripts/sourcesJar.gradle'
apply from: 'gradle/scripts/mavenPublishing.gradle'
apply from: 'gradle/scripts/javaVersionCheck.gradle'
task wrapper(type: Wrapper) { gradleVersion = '2.13' }
/*
* Hack for upgrading pegasus to version 11.0.0. For some reason, the gradle-plugins in
* that version fails to bring in "tools.jar" into the classpath. The rest.li team is actively
* seeking for a clean fix. This part will be removed later when the fix is ready
*/
allprojects {
tasks.matching { it.name == 'generateRestModel' }.all {
doFirst {
it.codegenClasspath += files("${System.getProperty('java.home')}/../lib/tools.jar")
}
}
}