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

#991: Introduce dependencies.json for gradle #1000

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

hj-lorenz
Copy link
Contributor

@hj-lorenz hj-lorenz commented Jan 30, 2025

Fixes #991

Implements

  • Removed method "installDependencies
  • Added test-json dependencies.json
  • Added GradleTest and necessary resources

Merging blocked until devonfw/ide-urls#20 is merged

@hj-lorenz hj-lorenz self-assigned this Jan 30, 2025
@hj-lorenz hj-lorenz added enhancement New feature or request gradle Gralde build tool dependency Tool dependencies (if tool A requires tool B) labels Jan 30, 2025
@hj-lorenz hj-lorenz force-pushed the feature/991-introduce-dependencies-json-for-gradle branch from 8f7fc17 to 8f788de Compare January 30, 2025 12:34
Copy link
Contributor

@jan-vcapgemini jan-vcapgemini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hj-lorenz thank you for the implementation of the dependencies.json for gradle. LGTM, got only some small CRs to resolve.

Copy link
Member

@hohwille hohwille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hj-lorenz thanks for your PR. Looks good to me 👍
Can you also link the PR to the ide-urls in the comment of this PR.
What would happen, if we merge the ide-settings and users are still using IDEasy without this change? Does it still work (tying to install java twice) or will it break?
If it does not break, we can merge ide-settings first and then this PR and all should be fine.
Otherwise, we need to complete all of these dependencies.json tasks before we get out of beta since we cause temporary disruptions...

@coveralls
Copy link
Collaborator

coveralls commented Jan 31, 2025

Pull Request Test Coverage Report for Build 13073356411

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.009%) to 68.388%

Files with Coverage Reduction New Missed Lines %
com/devonfw/tools/ide/tool/gradle/Gradle.java 1 66.67%
Totals Coverage Status
Change from base Build 13072995567: 0.009%
Covered Lines: 7390
Relevant Lines: 10388

💛 - Coveralls

hj-lorenz and others added 4 commits January 31, 2025 14:05
Fixes devonfw#991
Removed method "installDependencies
Added test-json dependencies.json
Added GradleTest and necessary resources
Changed permissions to git execute in files
Fixes devonfw#991
Removed url files that are not necessary any more.
Fixes devonfw#991
Removed url files that are not necessary any more.
Added necessary .gitkeepfiles
@hj-lorenz hj-lorenz force-pushed the feature/991-introduce-dependencies-json-for-gradle branch from 0663be8 to 793f0b8 Compare January 31, 2025 13:05
Copy link
Contributor

@jan-vcapgemini jan-vcapgemini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Tool dependencies (if tool A requires tool B) enhancement New feature or request gradle Gralde build tool
Projects
Status: 👀 In review
Development

Successfully merging this pull request may close these issues.

Introduce dependencies.json for gradle and remove hardcoded dependency
4 participants