forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (35 loc) · 1.24 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
version = '1.0'
buildscript {
apply from: 'gradle/scripts/repositories.gradle'
buildscript.repositories.addAll(project.repositories)
dependencies {
classpath 'gradle.plugin.com.palantir:jacoco-coverage:0.3.0'
classpath 'gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.13.1'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.1'
classpath 'com.moowork.gradle:gradle-node-plugin:1.2.0'
}
}
subprojects {
task excludegroup(type: Test) {
useTestNG() {
excludeGroups 'needConfig'
}
testLogging {
showStandardStreams = true
}
}
}
apply from: 'gradle/scripts/coverage.gradle'
apply from: 'gradle/scripts/dependency.gradle'
apply from: 'gradle/scripts/logging.gradle'
apply from: 'gradle/scripts/ide.gradle'
apply from: 'gradle/scripts/license.gradle'
task wrapper(type: Wrapper) {
gradleVersion = '2.14'
}
if (project.hasProperty('overrideBuildEnvironment')) {
//The property is automatically passed to the Gradle build when the project is built at LinkedIn
//The property contains the file path to a script plugin that 'adapts' this OS project to LinkedIn
//In order to adapt the project, we need to apply this script plugin:
apply from: project.overrideBuildEnvironment
}