Skip to content

Allow for renaming of values  #135

@inktomi

Description

@inktomi

When working with builds, sometimes we cannot control the names that variables have. For instance, when running a build from Android Studio a flag is passed called "android.injected.invoked.from.ide".

It would be great to be able to read that into builds in a better way than miss-using groups:

    group("android"){
        group("injected"){
            group("invoked") {
                group("from") {
                    bool("ide") {
                        description.set("Whether or not the current build was started from within Android Studio")
                        defaultValue.set(false)
                    }
                }
            }
        }
    }

Would it be possible to simplify this in any way? Could build-parameters allow for renaming properties perhaps? For example, it would be nicer if we could define this like:

    bool("invokedFromIde"){ 
        source = "android.injected.invoked.from.ide"
        //...
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending:feedbackIssues waiting for feedback from the reporter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions