Skip to content

Commit 6323dc4

Browse files
committed
Reduce logging that is produced when building Gradle plugin
Travis is terminating builds as they are producing too much logging. A major contributor to the volume of logging is the Gradle plugin's build. This commit switches off debug logging for the build and enables test event logging. This considerably reduces the volume of logging that is produced while still providing some insight into the build's tests.
1 parent 508aac0 commit 6323dc4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ jar {
2323
}
2424
}
2525

26+
test {
27+
testLogging {
28+
events "passed", "skipped", "failed"
29+
}
30+
}
31+
2632
eclipseJdt {
2733
inputFile = rootProject.file('../../eclipse/org.eclipse.jdt.core.prefs')
2834
doLast {

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
<argument>${gradle.task}</argument>
7777
<argument>-Pversion=${project.version}</argument>
7878
<argument>-Pdescription=${project.description}</argument>
79-
<argument>-d</argument>
8079
<argument>-S</argument>
8180
</arguments>
8281
</configuration>

0 commit comments

Comments
 (0)