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.
pull/10519/merge
Andy Wilkinson 7 years ago
parent 508aac084e
commit 6323dc4e21

@ -23,6 +23,12 @@ jar {
} }
} }
test {
testLogging {
events "passed", "skipped", "failed"
}
}
eclipseJdt { eclipseJdt {
inputFile = rootProject.file('../../eclipse/org.eclipse.jdt.core.prefs') inputFile = rootProject.file('../../eclipse/org.eclipse.jdt.core.prefs')
doLast { doLast {

@ -76,7 +76,6 @@
<argument>${gradle.task}</argument> <argument>${gradle.task}</argument>
<argument>-Pversion=${project.version}</argument> <argument>-Pversion=${project.version}</argument>
<argument>-Pdescription=${project.description}</argument> <argument>-Pdescription=${project.description}</argument>
<argument>-d</argument>
<argument>-S</argument> <argument>-S</argument>
</arguments> </arguments>
</configuration> </configuration>

Loading…
Cancel
Save