Search Gradle plugins

com.mermake.locale-resource-generator

Automatically generates locale_config.xml for per-app language support on Android 13 and higher. Also generates map of supported locales/languages for use in a runtime language picker.

https://adamormsby.com

Sources: https://github.com/aormsby/android-locale-resource-generator

Version 0.1.1 (latest)

Created 04 August 2024.

Automatically generates locale_config.xml for per-app language support on Android 13 and higher. Also generates map of supported locales/languages for use in a runtime language picker.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.mermake.locale-resource-generator") version "0.1.1"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.mermake.locale-resource-generator:com.mermake.locale-resource-generator.gradle.plugin:0.1.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.mermake.locale-resource-generator")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.mermake.locale-resource-generator:com.mermake.locale-resource-generator.gradle.plugin:0.1.1")
      }
    }
    
    apply(plugin = "com.mermake.locale-resource-generator")
  • Applying plugins to all subprojects .