Merge pull request #18670 from rjernst/save_eclipse

Build: Rework eclipse settings copy so it does not get automatically cleaned
This commit is contained in:
Ryan Ernst 2016-05-31 14:26:48 -07:00
commit 9a936d311c
1 changed files with 2 additions and 1 deletions

View File

@ -303,9 +303,10 @@ allprojects {
into '.settings'
}
// otherwise .settings is not nuked entirely
tasks.cleanEclipse {
task wipeEclipseSettings(type: Delete) {
delete '.settings'
}
tasks.cleanEclipse.dependsOn(wipeEclipseSettings)
// otherwise the eclipse merging is *super confusing*
tasks.eclipse.dependsOn(cleanEclipse, copyEclipseSettings)
}