yshrsmz / BuildKonfig

BuildConfig for Kotlin Multiplatform Project
Apache License 2.0
740 stars 33 forks source link

Add configurable object name #33

Closed dellisd closed 4 years ago

dellisd commented 4 years ago

close #32

The implemented API is the same as described in the issue.

buildkonfig {
    packageName = 'com.example.app'
    objectName = 'AwesomeConfig'  // defaults to 'BuildKonfig'

    defaultConfigs {
        buildConfigField 'STRING', 'name', 'value'
    }
}
yshrsmz commented 4 years ago

Thanks a lot! Will release a new version shortly.

yshrsmz commented 4 years ago

v0.6.0 is out now