org.openbakery.simulators.SimulatorsCleanTask.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.simulators
import org.gradle.api.tasks.TaskAction
class SimulatorsCleanTask extends AbstractSimulatorTask {
public SimulatorsCleanTask() {
setDescription("Deletes contents and settings for all iOS Simulators")
}
@TaskAction
void run() {
simulatorControl.eraseAll()
}
}