forked from palantir/conjure-java-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
57 lines (48 loc) · 1.7 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
buildscript {
repositories {
gradlePluginPortal()
maven { url "http://palantir.bintray.com/releases" }
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.netflix.nebula:gradle-dependency-lock-plugin:7.0.1'
classpath 'com.netflix.nebula:nebula-publishing-plugin:9.5.0'
classpath 'com.palantir.baseline:gradle-baseline-java:0.53.0'
classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.11.0'
classpath 'gradle.plugin.org.inferred:gradle-processors:2.2.0'
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:1.1.2'
}
}
apply plugin: 'com.palantir.baseline'
apply plugin: 'com.palantir.git-version'
apply plugin: 'com.palantir.consistent-versions'
allprojects {
version gitVersion()
group 'com.palantir.conjure.java.runtime'
repositories {
jcenter()
maven { url "http://palantir.bintray.com/releases" }
}
dependencies {
constraints {
rootConfiguration 'io.dropwizard.metrics:metrics-core', {
version { strictly '[3, 4[' }
because "Spark still uses 3.X, which can't co-exist with 4.X"
}
rootConfiguration 'com.squareup.retrofit2:retrofit', {
version { strictly '2.4.0' }
because 'Retrofit 2.5.0 breaks with our path parameter routing logic'
}
}
}
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'com.palantir.baseline-class-uniqueness'
sourceCompatibility = 1.8
tasks.check.dependsOn(javadoc)
test {
minHeapSize = "512m"
maxHeapSize = "512m"
}
}