-
Notifications
You must be signed in to change notification settings - Fork 16
/
build.gradle
65 lines (57 loc) · 1.82 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
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.2.1'
classpath 'com.netflix.nebula:nebula-dependency-recommender:6.0.0'
classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.12.3'
classpath 'com.palantir.configurationresolver:gradle-configuration-resolver-plugin:0.4.0'
}
}
apply plugin: 'com.palantir.external-publish-jar'
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'com.palantir.configuration-resolver'
apply plugin: 'com.palantir.git-version'
apply plugin: 'nebula.maven-base-publish'
apply plugin: 'nebula.maven-resolved-dependencies'
apply plugin: 'nebula.javadoc-jar'
apply plugin: 'nebula.source-jar'
apply plugin: 'nebula.dependency-recommender'
version gitVersion()
group = 'com.palantir.opensource'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
}
dependencyRecommendations {
strategy OverrideTransitives
propertiesFile file: project.rootProject.file('versions.props')
}
configurations.all {
resolutionStrategy {
failOnVersionConflict()
}
}
dependencies {
compile group: 'com.google.guava', name: 'guava'
compile group: 'org.slf4j', name: 'slf4j-api'
testRuntime group: 'org.slf4j', name: 'slf4j-simple'
testCompile group: 'org.apache.commons', name: 'commons-lang3'
testCompile group: 'junit', name: 'junit'
testCompile group: 'de.ruedigermoeller', name: 'fst'
}
jar {
manifest {
attributes(
"Implementation-Title" : project.name,
"Implementation-Version" : project.version,
"Implementation-Vendor" : "Palantir Technologies Inc.")
}
}