forked from temporalio/sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
62 lines (53 loc) · 1.99 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
buildscript {
ext {
palantirGitVersionVersion = "${JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_11) ? '0.15.0' : '0.13.0'}"
kotlinVersion = "${JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_16) ? '1.5.32' : '1.4.32'}"
}
}
plugins {
id 'net.ltgt.errorprone' version '2.0.2' apply false
id 'org.cadixdev.licenser' version '0.6.1'
id 'com.palantir.git-version' version "${palantirGitVersionVersion}" apply false
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
id 'com.diffplug.spotless' version '6.9.0' apply false
id 'com.github.nbaztec.coveralls-jacoco' version "1.2.14" apply false
// id 'org.jetbrains.kotlin.jvm' version '1.4.32'
// id 'org.jetbrains.kotlin.jvm' version '1.5.32'
// id 'org.jetbrains.kotlin.jvm' version '1.6.20'
id 'org.jetbrains.kotlin.jvm' version "${kotlinVersion}" apply false
id 'base'
}
allprojects {
repositories {
mavenCentral()
}
}
ext {
// Platforms
grpcVersion = '1.48.1' // [1.34.0,)
jacksonVersion = '2.13.1' // [2.9.0,)
micrometerVersion = '1.9.2' // [1.0.0,)
slf4jVersion = '1.7.36' // [1.4.0,)
protoVersion = '3.21.4' // [3.10.0,)
annotationApiVersion = '1.3.2'
guavaVersion = '31.1-jre' // [10.0,)
tallyVersion = '0.11.1' // [0.4.0,)
gsonVersion = '2.9.1' // [2.0,)
jsonPathVersion = '2.7.0' // compileOnly
// test scoped
logbackVersion = '1.2.11'
mockitoVersion = '4.6.1'
junitVersion = '4.13.2'
}
apply from: "$rootDir/gradle/versioning.gradle"
apply from: "$rootDir/gradle/java.gradle"
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_11)) {
apply from: "$rootDir/gradle/linting.gradle"
}
apply from: "$rootDir/gradle/errorprone.gradle"
apply from: "$rootDir/gradle/licensing.gradle"
apply from: "$rootDir/gradle/publishing.gradle"
apply from: "$rootDir/gradle/dependencyManagement.gradle"
if (project.hasProperty("jacoco")) {
apply from: "$rootDir/gradle/jacoco.gradle"
}