gradle-buildconfig-plugin icon indicating copy to clipboard operation
gradle-buildconfig-plugin copied to clipboard

Plugin attempts to import built-in type Boolean

Open Martmists-GH opened this issue 1 year ago • 0 comments

Worked fine on 3.0.3, started failing after updating to 3.1.0

buildConfig {
    generator(BuildConfigKotlinGenerator())
    packageName("my.package")
    buildConfigField("Boolean", "IS_DEVELOPMENT", "$isDevelopment")
}

Generated in 3.0.3:

package my.package

object BuildConfig {
    val IS_DEVELOPMENT: Boolean = true
}

Generated in 3.1.0:

package my.package

import Boolean

object BuildConfig {
    val IS_DEVELOPMENT: Boolean = true
}

Martmists-GH avatar Aug 04 '22 20:08 Martmists-GH