gradle-buildconfig-plugin
gradle-buildconfig-plugin copied to clipboard
A plugin for generating BuildConstants for any kind of Gradle projects: Java, Kotlin, Groovy, etc. Designed for KTS scripts.
Worked fine on 3.0.3, started failing after updating to 3.1.0 ```kt buildConfig { generator(BuildConfigKotlinGenerator()) packageName("my.package") buildConfigField("Boolean", "IS_DEVELOPMENT", "$isDevelopment") } ``` Generated in 3.0.3: ```kt package my.package object BuildConfig { val...
I saw #27, but perhaps you would consider making the `object` have a visibility of `internal`. As of now, this plugin is hard/impossible to use in a library because it...
Currently, you can generate constants from the resource folder. However, in Jetpack/JetBrains Compose, to create a Painter object from a resource file you would need this: ```kotlin @Composable fun icon()...
Removed incorrect parentheses at the end of the `BuildConfig.kt` code in the `Generate top-level constants` section.
Despite being nested inside a source set block, this re-use of the `buildConfig` DSL block will undo the scoping.