forked from palantir/gradle-baseline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
53 lines (44 loc) · 1.59 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
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.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
classpath 'com.netflix.nebula:nebula-dependency-recommender:4.0.2'
classpath 'com.netflix.nebula:nebula-publishing-plugin:4.9.1'
classpath 'com.palantir.baseline:gradle-baseline-java:0.12.0'
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.9'
}
}
plugins {
id 'com.palantir.git-version' version '0.5.3'
id 'org.inferred.processors' version '1.1.3'
}
apply plugin: 'java'
apply plugin: 'com.palantir.baseline-config'
apply plugin: 'com.palantir.baseline-idea'
apply plugin: 'maven'
apply plugin: 'maven-publish'
tasks.test.dependsOn tasks.publishToMavenLocal
dependencies {
baseline group: 'com.palantir.baseline', name: 'gradle-baseline-java-config', ext: 'zip'
}
allprojects {
repositories {
jcenter()
maven { url "http://palantir.bintray.com/releases" }
maven { url "https://plugins.gradle.org/m2/" }
}
apply plugin: 'org.inferred.processors'
apply plugin: 'nebula.dependency-recommender'
dependencyRecommendations {
strategy OverrideTransitives
propertiesFile file: project.rootProject.file('versions.props')
}
group = 'com.palantir.baseline'
version = gitVersion()
description = 'A Gradle plugin for applying Baseline-recommended build and IDE settings'
}