forked from palantir/hadoop-crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
74 lines (60 loc) · 2.08 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
74
buildscript {
repositories {
maven { url "http://palantir.bintray.com/releases" }
jcenter()
}
dependencies {
classpath 'gradle.plugin.com.palantir:gradle-circle-style:1.1.2'
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.3'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.netflix.nebula:nebula-dependency-recommender:6.0.0'
classpath 'com.netflix.nebula:nebula-publishing-plugin:5.1.4'
classpath 'com.palantir.baseline:gradle-baseline-java:0.24.0'
}
}
plugins {
id 'com.palantir.configuration-resolver' version '0.2.0'
id 'com.palantir.git-version' version '0.11.0'
id 'org.inferred.processors' version '2.1.0'
}
repositories {
// needed for baselineUpdateConfig task
maven { url "http://palantir.bintray.com/releases" }
}
apply plugin: 'com.palantir.baseline-config' // provides baselineUpdateConfig task
apply plugin: 'com.palantir.baseline-idea'
apply plugin: 'com.palantir.circle.style'
dependencies {
baseline 'com.palantir.baseline:gradle-baseline-java-config:0.24.0@zip'
}
allprojects {
group 'com.palantir.hadoop-crypto2'
version gitVersion()
apply plugin: 'com.palantir.configuration-resolver'
apply plugin: 'nebula.dependency-recommender'
dependencyRecommendations {
strategy OverrideTransitives
propertiesFile file: project.rootProject.file('versions.props')
}
configurations.all {
resolutionStrategy {
failOnVersionConflict()
}
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'com.palantir.baseline-checkstyle'
apply plugin: 'com.palantir.baseline-eclipse'
apply plugin: 'com.palantir.baseline-idea'
apply plugin: 'org.inferred.processors'
repositories {
maven { url "http://palantir.bintray.com/releases" }
jcenter()
}
tasks.check.dependsOn(javadoc)
sourceCompatibility = 1.8
if (System.env.CIRCLE_TEST_REPORTS) {
test.reports.junitXml.destination = new File(System.env.CIRCLE_TEST_REPORTS, it.getName())
}
}