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:
commit
9a936d311c
|
@ -303,9 +303,10 @@ allprojects {
|
||||||
into '.settings'
|
into '.settings'
|
||||||
}
|
}
|
||||||
// otherwise .settings is not nuked entirely
|
// otherwise .settings is not nuked entirely
|
||||||
tasks.cleanEclipse {
|
task wipeEclipseSettings(type: Delete) {
|
||||||
delete '.settings'
|
delete '.settings'
|
||||||
}
|
}
|
||||||
|
tasks.cleanEclipse.dependsOn(wipeEclipseSettings)
|
||||||
// otherwise the eclipse merging is *super confusing*
|
// otherwise the eclipse merging is *super confusing*
|
||||||
tasks.eclipse.dependsOn(cleanEclipse, copyEclipseSettings)
|
tasks.eclipse.dependsOn(cleanEclipse, copyEclipseSettings)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue