open class LangCompile : Sync
This is not really a compilation task, it's only named like that analogous to MoCompile and PoCompile.
It copies (more precisely it Syncs) the *.lang files to $buildDir/i18n/lang/$sourceSetName/data
LangCompile(moCompile: MoCompile, sourceSet: I18nSourceSet)
This is not really a compilation task, it's only named like that analogous to MoCompile and PoCompile. |
val moCompile: MoCompile
The task for compiling *.mo files to *.lang files. These outputs are then used as inputs for this task. |
|
val sourceSet: I18nSourceSet
The source set from which all *.lang files are synced to the destination |
|
val subdirectory: String
The subdirectory of the LangCompile.getDestinationDir to which the files will be written |
fun action(): Unit
The main task action, copies the *.lang files to the target directory. |