forked from scalar-labs/scalardb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
100 lines (88 loc) · 2.6 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
buildscript {
repositories {
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.13.0'
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
// apply plugin: 'jacoco'
apply plugin: 'java-library-distribution'
apply plugin: 'com.diffplug.spotless'
project.version = '4.0.0-SNAPSHOT'
ext {
guiceVersion = '5.1.0'
guavaVersion = '32.1.2-jre'
slf4jVersion = '1.7.36'
cassandraDriverVersion = '3.11.5'
azureCosmosVersion = '4.49.0'
jooqVersion = '3.14.16'
awssdkVersion = '2.20.54'
commonsDbcp2Version = '2.10.0'
mysqlDriverVersion = '8.0.33'
postgresqlDriverVersion = '42.6.0'
oracleDriverVersion = '21.11.0.0'
sqlserverDriverVersion = '11.2.3.jre8'
sqliteDriverVersion = '3.43.0.0'
grpcVersion = '1.53.0'
protobufVersion = '3.21.12'
annotationVersion = '1.3.2'
picocliVersion = '4.7.5'
scalarAdminVersion = '2.1.2'
dropwizardMetricsVersion = '4.2.19'
prometheusVersion = '0.16.0'
commonsTextVersion = '1.10.0'
jettyVersion = '9.4.52.v20230823'
junitVersion = '5.10.0'
commonsLangVersion = '3.13.0'
assertjVersion = '3.24.2'
mockitoVersion = '4.11.0'
spotbugsVersion = '4.7.3'
errorproneVersion = '2.10.0'
errorproneJavacVersion = '9+181-r4173-1'
gsonVersion = '2.10.1'
log4jVersion = '2.20.0'
stefanbirknerSystemLambdaVersion = '1.2.1'
spotbugsPluginVersion = '5.1.3'
errorpronePluginVersion = '2.0.2'
protobufPluginVersion = '0.8.19'
shadowPluginVersion = '7.1.2'
dockerPluginVersion = '0.34.0'
// Make JDK11+ use the same version as JDK8 uses
googleJavaFormatVersion = '1.7'
}
repositories {
mavenCentral()
}
tasks.withType(Test) {
useJUnitPlatform()
testLogging.showStandardStreams = true
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
group = "com.scalar-labs"
java {
withJavadocJar()
withSourcesJar()
}
javadoc {
if (JavaVersion.current().isJava9Compatible()) {
options.addBooleanOption('html5', true)
}
}
distZip {
duplicatesStrategy DuplicatesStrategy.EXCLUDE
}
distTar {
duplicatesStrategy DuplicatesStrategy.EXCLUDE
}
installDist {
duplicatesStrategy DuplicatesStrategy.EXCLUDE
}
}