Skip to content

Conversation

@patflynn
Copy link
Contributor

Fix gradle build due to openjdk-11 in build deps and coming from transitive runtime deps

Related:
review thread on #1203

I suspect this might be an apko regression as I don't understand how this was working before.

One thing that I'm wondering about is why gradle pulls in JRE as runtime deps while maven doesn't. I don't know what the right thing but it's definitely inconsistent right now.

…sitive runtime deps

Signed-off-by: Patrick Flynn <patrick@chainguard.dev>
@patflynn patflynn marked this pull request as ready for review April 19, 2023 21:06
@patflynn patflynn requested a review from a team as a code owner April 19, 2023 21:06
@patflynn patflynn requested review from jdolitsky and rawlingsj April 19, 2023 21:06
@patflynn
Copy link
Contributor Author

I tested this with a new gradle image and seems 👍

Copy link
Member

@jdolitsky jdolitsky left a comment

Choose a reason for hiding this comment

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

looks like new version of gradle too

2023/04/19 20:39:10 error during command execution: 1 error occurred:
	* package gradle-8: update found newer version 8.1.0 compared with package.version 8.0.2 in melange config
	```

@patflynn
Copy link
Contributor Author

@jdolitsky yeah this fixes the build so that update PR will pass.

@patflynn patflynn added this pull request to the merge queue Apr 19, 2023
Merged via the queue into wolfi-dev:main with commit 0f816b1 Apr 19, 2023
@patflynn patflynn deleted the fix-gradle branch April 19, 2023 21:30
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

Successfully merging this pull request may close these issues.

3 participants