Skip to content

gradle improvements commentary #3384

@xenoterracide

Description

@xenoterracide

this isn't a real issue, more of a commentary for educational purposes. if the team wants to make some (debatable?) improvements to the build.

  1. Lazy configuration. tasks.withType(Foo) would be lazy if changed to tasks.withType(Foo).configureEach. This means a task shouldn't be configured unless it needs to be executed.
  2. libraries.depname could be migrated to a version catalog and even have the variable name be libraries with the same access keys. I think most people are using libs.versions.toml but there is a dsl version
  3. switch many subproject testing to jvm test suites. I think this will make it easier to understand for contributors what is a released jar vs what's simply a test suite. I also believe it will come with some performance improvements and code reduction due to not having to have another project. note: test is already a jvm test suite.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions