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 JavaContainerBuilder for multiple dep layers #1773

Merged
merged 7 commits into from Jun 14, 2019

Conversation

loosebazooka
Copy link
Member

@loosebazooka loosebazooka commented Jun 12, 2019

This is part of #1724

This just redoes the previous behavior with a new API.

It does NOT cover:

  • "changing" dependencies marked in gradle
  • "project/module" dependencies

Copy link
Member

@chanseokoh chanseokoh left a comment

Choose a reason for hiding this comment

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

I saw some test failures in the original commit.

@loosebazooka
Copy link
Member Author

oh, I need to go fix the plugin tests.

@loosebazooka
Copy link
Member Author

probably going to have to implement parts of the plugin stuff along with this fix :\

Copy link
Member

@chanseokoh chanseokoh left a comment

Choose a reason for hiding this comment

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

I suggest to run integration tests (build.sh it) before submitting it, because it changes the number of layers and I remember that are integration tests that count the number.

Copy link
Contributor

@TadCordle TadCordle left a comment

Choose a reason for hiding this comment

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

We should update the changelog too since this adds user-facing methods.

@@ -6,6 +6,8 @@ All notable changes to this project will be documented in this file.
### Added

### Changed
- `JibContainerBuilder#addDependencies` is now split into three methods: `addDependencies`, `addSnapshotDependencies`, `addProjectDependneices` ([#1773](https://github.com/GoogleContainerTools/jib/pull/1773))

Copy link
Member

Choose a reason for hiding this comment

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

nit: unneeded blank line

Copy link
Member

Choose a reason for hiding this comment

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

Spelling error in "dependencies"

jib-core/CHANGELOG.md Outdated Show resolved Hide resolved
@loosebazooka loosebazooka merged commit 1267fee into master Jun 14, 2019
@loosebazooka loosebazooka deleted the changeAddDependencies branch June 20, 2019 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants