forked from ElderByte/spring-boot-starter-kafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
43 lines (37 loc) · 957 Bytes
/
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
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath("com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4")
}
}
allprojects {
version = '2.2.0.E42'
group = 'com.elderbyte.starter'
//Always show stacktrace
gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS
}
subprojects {
ext {
springBoot = '2.2.0'
springBootVersion = springBoot + '.RELEASE'
starterVersion = '5.26.1'
}
tasks.withType(Javadoc) {
// Avoid failing builds because of java-doc errors
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding','UTF-8')
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
sourceCompatibility = 11
targetCompatibility = 11
}
tasks.withType(Test) {
testLogging {
exceptionFormat = 'full'
}
}
}