Build: Also clean buildSrc when cleaning

This forces buildSrc to be cleaned when running gradle clean. It's what
someone would expect, even though buildSrc is a pseudo-independent
project.
This commit is contained in:
Ryan Ernst 2015-11-16 12:41:21 -08:00
parent 3cc1d272ff
commit ee16614911
1 changed files with 5 additions and 0 deletions

View File

@ -166,5 +166,10 @@ task buildSrcEclipse(type: GradleBuild) {
}
tasks.eclipse.dependsOn(buildSrcEclipse)
task clean(type: GradleBuild) {
buildFile = 'buildSrc/build.gradle'
tasks = ['clean']
}
task run(dependsOn: ':distribution:run')