Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 790 Bytes

README.md

File metadata and controls

36 lines (28 loc) · 790 Bytes

GrimoireTwine

Gradle plugin for generating (android) strings from twine file.

Installation

Project root build.gradle

buildscript {
    dependencies {
        //...
        classpath "com.skoumal.grimoire:twine:latest.version"
    }
}

Module build.gradle

apply plugin: 'grimoire.twine'

twine {
    outputName = "strings.xml" // optional
    defaultLanguage = "en" // optional
    format = "android" // optional
    file = "${rootDir}/strings.txt"
    args = ["-itranslated", "-u", "-tandroid"] // optional
}

Logo by smalllikeart