All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openbakery.appledoc.AppledocCleanTask.groovy Maven / Gradle / Ivy

Go to download

XCode-Plugin is a plugin to allow custom XCode projects to build as generated by CMake

There is a newer version: 0.0.201
Show newest version
package org.openbakery.appledoc

import org.gradle.api.DefaultTask
import org.gradle.api.tasks.TaskAction

class AppledocCleanTask extends DefaultTask {

	AppledocCleanTask() {
		super()
		this.description = "Cleans up the generated files from appledoc"
	}

	@TaskAction
	def clean() {
		def documentationDirectory = project.getFileResolver().withBaseDir(project.getBuildDir()).resolve("documentation")
    project.file(documentationDirectory).deleteDir()
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy