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

de.comahe.i18n4k.gradle.plugin.ClearI18n4kFilesTask.kt Maven / Gradle / Ivy

package de.comahe.i18n4k.gradle.plugin

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


@Suppress("unused")
open class ClearI18n4kFilesTask : DefaultTask() {

    @Internal
    lateinit var config: I18n4kExtension

    @TaskAction
    fun doIt() {
        I18n4kPlugin.getGeneratedSourcesDirectory(project, config).deleteRecursively()
        I18n4kPlugin.getGeneratedLanguageFilesDirectory(project, config).deleteRecursively()
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy