org.openbakery.carthage.CarthageCleanTask.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.carthage
import org.gradle.api.DefaultTask
import org.gradle.api.tasks.TaskAction
class CarthageCleanTask extends DefaultTask {
CarthageCleanTask() {
super()
this.description = "Cleans up the Carthage directory"
}
@TaskAction
def clean() {
project.file("Carthage").deleteDir()
}
}