add groovy build code (buildSrc/) in 'gradle eclipse'
This makes it a groovy project that works in eclipse. You will have to install a plugin for groovy language support (I used a snapshot build from https://github.com/groovy/groovy-eclipse/wiki)
This commit is contained in:
parent
e06cae84f3
commit
866a514785
|
@ -192,4 +192,10 @@ allprojects {
|
||||||
tasks.eclipse.dependsOn(copyEclipseSettings)
|
tasks.eclipse.dependsOn(copyEclipseSettings)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// add buildSrc itself as a groovy project
|
||||||
|
task buildSrcEclipse(type: GradleBuild) {
|
||||||
|
buildFile = 'buildSrc/build.gradle'
|
||||||
|
tasks = ['cleanEclipse', 'eclipse']
|
||||||
|
}
|
||||||
|
tasks.eclipse.dependsOn(buildSrcEclipse)
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ class TestReportLogger extends TestsSummaryEventListener implements AggregatedEv
|
||||||
static final String FAILURE_MARKER = " <<< FAILURES!"
|
static final String FAILURE_MARKER = " <<< FAILURES!"
|
||||||
|
|
||||||
/** Status names column. */
|
/** Status names column. */
|
||||||
static EnumMap<TestStatus, String> statusNames;
|
static EnumMap<? extends TestStatus, String> statusNames;
|
||||||
static {
|
static {
|
||||||
statusNames = new EnumMap<>(TestStatus.class);
|
statusNames = new EnumMap<>(TestStatus.class);
|
||||||
for (TestStatus s : TestStatus.values()) {
|
for (TestStatus s : TestStatus.values()) {
|
||||||
|
|
Loading…
Reference in New Issue