lumo.properties

# Lumo UI Plugin
# This file is used to store configurations for the Lumo UI Plugin
# Do not delete this file
 
ThemeName=AppTheme
ComponentsDir=ui-components/src/main/java/com/nomanr/ui_components
# Windows: ComponentsDir=ui-components\src\main\java\com\nomanr\ui_components
PackageName=com.nomanr.ui_components
# KotlinMultiplatform=false
💡

Use KotlinMultiplatform property to generate components for Compose Multiplatform.

The lumo.properties is generated at the root of your project when you run the ./gradlew lumo --init command.

    • build.gradle.kts
    • lumo.properties
    • settings.gradle.kts

The lumo.properties file contains the necessary configurations for the plugin.



PropertyDescription
ThemeName

Name of the theme class that will be generated, e.g. AppTheme, MaterialTheme.

ComponentsDir

The directory where the components will be generated, relative to the project root.

PackageNamePackage name for the generated components
KotlinMultiplatformUse true to generate components for Compose Multiplatform.

The plugin checks for the lumo.properties file in your project’s root to determine if it’s initialized.


Copyright © Noman R