L10n.ws logo L10n.ws

Gradle build plugin that load related to configuration and include message properties files to classpath at pre-compile phase.

Include in project

buildscript {
   repositories {
       mavenCentral()
   }
   dependencies {
       classpath 'ws.l10n:l10n-gradle-plugin:1.0.3'
   }
}
apply plugin: 'l10n-gradle-plugin'

Usage

l10nOptions {
   serviceUrl = "https://l10n.ws/api/v1"
   accessToken = "YOUR_ACCESS_TOKEN"
   bundleKey = "YOUR_BUNDLE_KEY"
   version = "YOUR_BUNDLE_VERSION"
   path = "./src/main/resources"
}

Run

gradle loadMessages

Source Code

For more details source code you can find here https://github.com/l10nws/l10n-java