-
-
Notifications
You must be signed in to change notification settings - Fork 376
feat: remove Gradle extension #6579
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR replaces the Gradle Enterprise Maven Extension with the Takari Smart Builder for parallel build optimization and removes the associated Gradle Enterprise configuration.
Key Changes:
- Removed Gradle Enterprise Maven Extension and its configuration file
- Added Takari Smart Builder extension (version 1.1.0)
- Introduced maven.config with batch mode and parallelization flags
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.mvn/extensions.xml |
Replaced Gradle Enterprise extension with Takari Smart Builder extension |
.mvn/maven.config |
Added new configuration file with batch mode and parallel build flags |
.mvn/gradle-enterprise.xml |
Removed Gradle Enterprise configuration file (no longer needed) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
.mvn/maven.config
Outdated
| @@ -0,0 +1,3 @@ | |||
| -b | |||
| smart | |||
Copilot
AI
Dec 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "smart" option is not a valid Maven command-line flag. The Takari Smart Builder is already activated through the extension in extensions.xml, so no additional flag is needed here. This line should be removed to prevent Maven from failing with an "Unrecognized option" error.
| smart |
.mvn/maven.config
Outdated
| @@ -0,0 +1,3 @@ | |||
| -b | |||
| smart | |||
| -T2C | |||
Copilot
AI
Dec 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "-T2C" flag enables Maven's parallel build mode with 2 threads per CPU core. However, this conflicts with the Takari Smart Builder extension which has its own parallel build strategy. Using both simultaneously can lead to unpredictable behavior or build failures. Since the PR's purpose is to use Takari Smart Builder for parallelization, the "-b" flag (batch mode) should be used alone or with Smart Builder's specific configuration options, not with Maven's native thread-based parallelism.
| -T2C |
|
https://github.com/takari/takari-smart-builder either copilot is smarter as their docs or .... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
SirYwell
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be rather chore: than feat: but looks okay.
Let's just remove the really outdated extension; this wasn't updated for 4 years by us.