Skip to content

Commit fb5ada5

Browse files
authored
Merge pull request #32 from embulk/cleanup-build.gradle-202211
Cleanup build.gradle
2 parents 3bc6ad0 + d91e309 commit fb5ada5

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

build.gradle

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
plugins {
22
id "java"
3-
id "checkstyle"
43
id "maven-publish"
54
id "signing"
65
id "org.embulk.embulk-plugins" version "0.4.2"
6+
id "checkstyle"
77
}
88

99
repositories {
@@ -14,8 +14,8 @@ group = "org.embulk"
1414
version = "1.7.1-SNAPSHOT"
1515
description = "Stores files on S3."
1616

17-
sourceCompatibility = 1.8
18-
targetCompatibility = 1.8
17+
sourceCompatibility = JavaVersion.VERSION_1_8
18+
targetCompatibility = JavaVersion.VERSION_1_8
1919

2020
tasks.withType(JavaCompile) {
2121
options.compilerArgs << "-Xlint:deprecation" << "-Xlint:unchecked"
@@ -251,6 +251,19 @@ gemPush {
251251
host = "https://rubygems.org"
252252
}
253253

254+
test {
255+
useJUnitPlatform()
256+
testLogging {
257+
events "passed", "skipped", "failed", "standardOut", "standardError"
258+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
259+
showCauses = true
260+
showExceptions = true
261+
showStackTraces = true
262+
showStandardStreams = true
263+
outputs.upToDateWhen { false }
264+
}
265+
}
266+
254267
checkstyle {
255268
configFile = file("${project.rootDir}/config/checkstyle/checkstyle.xml")
256269
toolVersion = '6.14.1'

0 commit comments

Comments
 (0)