Skip to content

Generate build parameters from a settings script DSL #243

@britter

Description

@britter

Currently in order to use build parameters, one needs to apply the build parameters plugin to a build of a build plugin. The definition of the parameters are then used to generate a new plugin that can be applied to the main build of the project. This approach has some drawbacks, most notably it's kind of complex.

An alternative to this might be simplifying the approach so that it works more like Gradle version catalogs: Have settings script DSL that generates the compile safe accessors very early during settings evaluation. The problem with this is that Gradle does not provide a hook to generate or compile code during settings evaluation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions