Repository navigation
Feature/add support build gradle - #158
Merged
omatheusmesmo merged 16 commits intoFeb 13, 2025
Merged
omatheusmesmo merged 16 commits into
omatheusmesmo merged 16 commits into
Conversation
omatheusmesmo
requested review from
DumiJDev,
omatheusmesmo and
wheslleyrimar
February 10, 2025 19:28
Develop to main
Develop to Main
Updated Contribution Guidelines to Avoid Parallel Work on Same Issue
Automatic Greetings for First-Time Contributors and PRs
Collaborator
|
@felipemelozx , for your information, I'm starting this review right now. 🏃♂️ |
omatheusmesmo
approved these changes
Feb 13, 2025
Collaborator
|
@felipemelozx , great job, congrats on one more PR closed! 🥇 ☕ |
Merged
DumiJDev
pushed a commit
to DumiJDev/BuildCLI
that referenced
this pull request
Sep 3, 2025
…-build-gradle Feature/add support build gradle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces a detection mechanism to determine whether a project uses Maven or Gradle as its build tool. Based on the detection, the
BuildCommandnow runs either Maven or Gradle commands for compiling or packaging the project. If neither build tool is detected, an error message is logged.Related Issues
Add Support for Other Build Tools fixes #44
Changes
checkIsMavenOrGradlemethod toToolChecksto detect build tool.BuildToolclass for common build tool structureGradleInstallerclass to automate Gradle installationGradleProcessclass for managing Gradle tasks and installationMavenProcessextend BuildTool for consistency withGradleProcessBuildCommandto use the detected build tool for running commands (MavenProcessorGradleProcess).Checklist
Additional Notes
No automated tests have been added.