forked from Netflix/conductor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
58 lines (43 loc) · 1.26 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.netflix.nebula:gradle-extra-configurations-plugin:3.0.3'
classpath 'org.apache.ant:ant:1.9.7'
}
}
plugins {
id 'nebula.netflixoss' version '5.0.0'
}
// Establish version and status
ext.githubProjectName = rootProject.name // Change if github project name is not the same as the root project's name
apply plugin: 'project-report'
subprojects {
apply plugin: 'nebula.netflixoss'
apply plugin: 'nebula.provided-base'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'project-report'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
jcenter()
}
dependencies {
testCompile 'junit:junit-dep:4.10'
testCompile 'org.mockito:mockito-all:1.10.0'
}
group = "com.netflix.${githubProjectName}"
tasks.withType(Test) {
maxParallelForks = 100
}
license {
excludes(['**/*.txt', '**/*.conf', '**/*.properties', '**/*.json', '**/swagger-ui/*'])
}
task licenseFormatTests (type:nl.javadude.gradle.plugins.license.License) {
source = fileTree(dir: "src/test").include("**/*")
}
licenseFormat.dependsOn licenseFormatTests
}