-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (51 loc) · 1.07 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
buildscript {
ext {
OSPACKAGE_VERSION = '8.5.6'
}
}
plugins {
id 'org.ajoberstar.grgit' version '4.1.0'
id 'fr.brouillard.oss.gradle.jgitver' version '0.9.1'
}
jgitver {
useDistance true
useGitCommitID true
useDirty true
/* To play nice with literally everything else. */
autoIncrementPatch false
}
apply plugin: 'base'
apply plugin: 'idea'
subprojects {
apply plugin: 'java'
//apply plugin: 'idea'
version = rootProject.description
sourceCompatibility = 11
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
repositories {
mavenCentral()
/* For org.everit.json.schema */
maven { url 'https://jitpack.io' }
}
dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter', version: '5.7.1'
}
test {
useJUnitPlatform()
}
tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:unchecked'
options.deprecation = true
}
test {
testLogging.showStandardStreams = true
}
}
allprojects {
ext {
LOG4J_VERSION = '2.15.0'
SLF4J_VERSION = '1.7.29'
JAVAX_JSON_VERSION = '1.1'
JAKARTA_MAIL_VERSION = '1.6.4'
}
}