forked from palantir/streams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (36 loc) · 1015 Bytes
/
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
/*
* Copyright 2015 Palantir Technologies, Inc. All rights reserved.
*/
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3"
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.4.18"
}
}
plugins {
id 'com.palantir.git-version' version '0.2.0'
}
repositories {
mavenCentral()
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
apply from: "${rootDir}/gradle/publish.gradle"
group 'com.palantir.common'
version System.env.CIRCLE_TAG ?: gitVersion()
dependencies {
// Pull Guava 21 for JavaDocs, but we don't need it at runtime
compileOnly 'com.google.guava:guava:21.0'
runtime 'com.google.guava:guava:18.0'
testCompile 'junit:junit:4.12'
testCompile 'org.assertj:assertj-core:3.5.2'
testCompile 'org.mockito:mockito-core:2.10.0'
testCompile 'com.google.truth:truth:0.28'
}
check.dependsOn javadoc