org.openbakery.coverage.CoverageCleanTask.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xcode-plugin Show documentation
Show all versions of xcode-plugin Show documentation
XCode-Plugin is a plugin to allow custom XCode projects to build as generated by CMake
package org.openbakery.coverage
import org.gradle.api.DefaultTask
import org.gradle.api.tasks.TaskAction
class CoverageCleanTask extends DefaultTask {
CoverageCleanTask() {
super()
this.description = "Cleans up the generated files from the coverage"
}
@TaskAction
def clean() {
project.file(project.coverage.outputDirectory).deleteDir()
}
}