Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Gradle build configuration to use best practices #10841

Open
aSemy opened this issue Sep 5, 2023 · 0 comments
Open

Update Gradle build configuration to use best practices #10841

aSemy opened this issue Sep 5, 2023 · 0 comments

Comments

@aSemy
Copy link

aSemy commented Sep 5, 2023

intellij-rust uses Gradle to build the project. However, it uses several non-idiomatic practices.

Benefits

Updating the project to use idiomatic practices would result in

  • faster build speeds
  • avoid work during project-configuration, so that the project will load and run faster
  • easier to update to newer versions of Gradle (specifically, prepare for project isolation and configuration cache)
  • simplified build scripts (move shared configuration out of the root build.gradle.kts and into convention plugins)
  • Kotlin DSL accessors (which are currently not generated)
  • allow for project restructuring (so subprojects could be moved and organised into a more logical structure)

Tasks

I'd like to implement the following:

Examples

To demonstrate the end result, please take a look at these projects which I performed similar build-logic refactoring:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant