com.github.megatronking.svg.plugin.task.SVGVectorCleanTask.groovy Maven / Gradle / Ivy
package com.github.megatronking.svg.plugin.task;
import org.gradle.api.tasks.TaskAction;
public class SVGVectorCleanTask extends SVGBaseTask {
@TaskAction
public void run() {
super.run();
if (configuration != null && configuration.vectorDirs != null) {
configuration.vectorDirs.each { vectorDir->
def dir = file(vectorDir)
dir.deleteDir()
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy