-
Notifications
You must be signed in to change notification settings - Fork 37
/
build.gradle
93 lines (81 loc) · 2.38 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
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'
apply plugin: 'com.scalar.db.jdk-configuration'
project.version = '4.0.0-SNAPSHOT'
ext {
guiceVersion = '5.1.0'
guavaVersion = '32.1.3-jre'
slf4jVersion = '1.7.36'
cassandraDriverVersion = '3.11.5'
azureCosmosVersion = '4.65.0'
jooqVersion = '3.14.16'
awssdkVersion = '2.29.1'
commonsDbcp2Version = '2.13.0'
mysqlDriverVersion = '8.4.0'
postgresqlDriverVersion = '42.7.4'
oracleDriverVersion = '21.16.0.0'
sqlserverDriverVersion = '11.2.3.jre8'
sqliteDriverVersion = '3.47.1.0'
yugabyteDriverVersion = '42.7.3-yb-2'
mariadDbDriverVersion = '3.5.1'
picocliVersion = '4.7.6'
commonsTextVersion = '1.13.0'
junitVersion = '5.11.4'
commonsLangVersion = '3.17.0'
assertjVersion = '3.27.0'
mockitoVersion = '4.11.0'
spotbugsVersion = '4.8.6'
errorproneVersion = '2.10.0'
errorproneJavacVersion = '9+181-r4173-1'
gsonVersion = '2.11.0'
stefanbirknerSystemLambdaVersion = '1.2.1'
spotbugsPluginVersion = '5.2.5'
errorpronePluginVersion = '3.1.0'
shadowPluginVersion = '7.1.2'
// Make JDK11+ use the same version as JDK8 uses
googleJavaFormatVersion = '1.7'
commonsIoVersion = '2.16.1'
lombokVersion = '1.18.34'
}
repositories {
mavenCentral()
}
tasks.withType(Test) {
useJUnitPlatform()
testLogging.showStandardStreams = true
}
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
}
}