-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
contribution welcomeThe team would welcome a contribution from the community for this issueThe team would welcome a contribution from the community for this issueenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Currently, everything that is generated is added into a single object. That sounds reasonable but we may want to group certain things and seperate from eachother, maybe we can introduce a name
into config and use this name to name generated objects
like this
configure<BuildKonfigExtension> {
packageName = "${ProjectSettings.PROJECT_ID}.common"
name = "VersionBuildKonfig"
defaultConfigs {
buildConfigField(STRING, "VERSION", project.getVersion(), const = true)
}
}
configure<BuildKonfigExtension> {
packageName = "${ProjectSettings.PROJECT_ID}.common"
name = "ApiBuildKonfig"
defaultConfigs {
buildConfigField(STRING, "BASE_URL", "www.asd.com", const = true)
}
}
Additionally, this request will also make sense after we implement: #74 Since we may want to make some Konfigs internal while some public
Metadata
Metadata
Assignees
Labels
contribution welcomeThe team would welcome a contribution from the community for this issueThe team would welcome a contribution from the community for this issueenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed