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

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

Go to download

i18n4k is a multiplatform (JVM, JS, native) library and code generator for Kotlin to handle internationalisation (i18n) in your program.

There is a newer version: 0.9.0
Show newest version
package de.comahe.i18n4k.gradle.plugin

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


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

    lateinit var config: I18n4kExtension

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy