-
Notifications
You must be signed in to change notification settings - Fork 14k
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
KAFKA-12415: Prepare for Gradle 7.0 and restrict transitive scope for non api dependencies #10203
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
784cc81
Replace maven with maven-publish and use plugin dsl for plugin config…
ijuma 65a1ad0
Comment out and remove maven plugin code
ijuma f51d0ea
`compile`, `testCompile`, `runtime`, `testRuntime` were all removed
ijuma 59f3756
Fix cyclic issue affecting Streams
ijuma 78b40f2
Use java-library and use api/implementation correctly
ijuma d64ef6e
Fix more deprecations
ijuma 5507285
Configure maven publisher
ijuma cd36077
Update gradle and plugins
ijuma d54a8be
Don't publish jmh-benchmark module
ijuma f73e84b
Use `publishToMavenLocal` in `Jenkinsfile`
ijuma 56d5a9b
Add task aliases for backward compatibility
ijuma cabdc94
`shouldSign` doesn't need to check the task names since it only appli…
ijuma 9b6b730
Improve comment
ijuma 5498ad9
Use `api` for some of connect-json project dependencies
ijuma c084401
More tweaks
ijuma 7064e91
streams connect-json dependency should be `api`
ijuma 7c87c6a
Update readme to mention publish as the recommended command
ijuma 73c9b0f
Export streams and clients apis from streams-test-utils
ijuma 09ffca7
Merge remote-tracking branch 'apache-github/trunk' into gradle-7.0-ready
ijuma 4855a78
Merge remote-tracking branch 'apache-github/trunk' into gradle-7.0-ready
ijuma 83b2411
Remove inaccurate line about key signing
ijuma 1f257e5
`artifacts` doesn't work with maven publish, replace it with somethin…
ijuma b3205f5
classifier -> archiveClassifier
ijuma b365ee9
Fix folder name in release tar gz
ijuma 7f0281b
Fix jmh-benchmark script since the jar now includes a version
ijuma 13fa697
Remove duplicate `all` from jmh benchmarks name
ijuma e581e56
Use api for `connect-api` in `connect-json` and `connect-transforms`.
ijuma 9c35471
Add notable changes as a result of this PR
ijuma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
@ijuma the proper way to skip signing is now to run
./gradlew clean releaseTarGz -DskipSigning
, is that right? Is there a reason we removed this instruction from the README instead of updating it?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.
Signing is skipped by default. Are you seeing something different? There is a table that describes
skipSigning
: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.
Yes, we're suddenly seeing our soak test (an application which deploys from trunk) fail with
I personally haven't been able to reproduce this, but both @wcarlson5 and @lct45 have reported running into this issue
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.
Note that your command has
install
while the README line I deleted did not (and was wrong). It is still weird that you're seeing this for snapshot builds. I'll work with you all offline to try and figure it out.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.
We figured it out, the build was using a non snapshot version. Passing
-PskipSigning=true
fixed it. Submitted #10307 to make it easier to debug these issues in the future.