dev.shushant.generate-app-resource-class.plugin
Owner: Shushant tiwari
Simplify resource management in your Jetpack Compose project with the Generate App Resource Class plugin. This Gradle plugin automates the creation of a Kotlin class that acts as a central hub for accessing application resources such as strings and drawables directly from your Composables.
Sources: https://github.com/dev-shushant/gradle-localization-plugin.git
Version 1.0.1 (latest)
1.0.1
Created 29 December 2023.
Simplify resource management in your Jetpack Compose project with the Generate App Resource Class plugin. This Gradle plugin automates the creation of a Kotlin class that acts as a central hub for accessing application resources such as strings and drawables directly from your Composables.
Using the plugins DSL:
plugins {
id("dev.shushant.generate-app-resource-class.plugin") version "1.0.1"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("dev.shushant:gradle-localization-plugin:1.0.1")
}
}
apply(plugin = "dev.shushant.generate-app-resource-class.plugin")
Using the plugins DSL:
plugins {
id "dev.shushant.generate-app-resource-class.plugin" version "1.0.1"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "dev.shushant:gradle-localization-plugin:1.0.1"
}
}
apply plugin: "dev.shushant.generate-app-resource-class.plugin"