forked from palantir/sls-packaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
69 lines (59 loc) · 2.07 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
buildscript {
repositories {
jcenter()
maven { url "https://plugins.gradle.org/m2/" }
maven { url "http://palantir.bintray.com/releases" }
}
dependencies {
classpath 'com.gradle.publish:plugin-publish-plugin:0.9.7'
classpath 'com.palantir.baseline:gradle-baseline-java:0.21.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.3'
classpath 'com.netflix.nebula:nebula-dependency-recommender:6.0.0'
classpath 'com.netflix.nebula:nebula-publishing-plugin:5.1.4'
classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.11.0'
classpath 'com.palantir.configurationresolver:gradle-configuration-resolver-plugin:0.3.0'
classpath 'gradle.plugin.org.inferred:gradle-processors:1.2.15'
classpath 'de.undercouch:gradle-download-task:3.4.2'
}
}
plugins {
id 'com.palantir.circle.style' version '1.1.2'
}
apply plugin: 'com.palantir.configuration-resolver'
apply plugin: 'com.palantir.baseline-config'
apply plugin: 'idea'
allprojects {
repositories {
jcenter()
maven { url "http://palantir.bintray.com/releases" }
}
apply plugin: 'com.palantir.git-version'
apply plugin: 'nebula.dependency-recommender'
group 'com.palantir.sls-packaging'
version gitVersion()
dependencyRecommendations {
strategy OverrideTransitives
propertiesFile file: project.rootProject.file('versions.props')
}
configurations.all {
resolutionStrategy {
failOnVersionConflict()
}
}
}
subprojects {
apply plugin: 'com.palantir.baseline-checkstyle'
apply plugin: 'com.palantir.baseline-eclipse'
apply plugin: 'com.palantir.baseline-class-uniqueness'
apply plugin: 'com.palantir.baseline-error-prone'
apply plugin: 'com.palantir.baseline-idea'
apply plugin: 'java-library'
configurations.errorprone {
resolutionStrategy {
force 'com.google.guava:guava:21.0'
}
}
}
dependencies {
baseline 'com.palantir.baseline:gradle-baseline-java-config:0.21.0@zip'
}