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

Fix ./gradlew build on kafka #27718

Merged
merged 1 commit into from
Jul 28, 2023
Merged

Fix ./gradlew build on kafka #27718

merged 1 commit into from
Jul 28, 2023

Conversation

Abacn
Copy link
Contributor

@Abacn Abacn commented Jul 27, 2023

Although we no longer run ./gradlew build on Jenkins tests (#27320), it is still exercised by IDEs (like IntelliJ) when project load or hit the "Build" button, and could cause confusion for new contributors

Please add a meaningful description for your change here


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@Abacn
Copy link
Contributor Author

Abacn commented Jul 27, 2023

Command: ./gradlew -p sdks/java/io/kafka/ build

Previous:

> Task :sdks:java:io:kafka:kafka-211:analyzeClassesDependencies FAILED
> Task :sdks:java:io:kafka:kafka-222:analyzeClassesDependencies FAILED
> Task :sdks:java:io:kafka:kafka-111:analyzeClassesDependencies FAILED
> Task :sdks:java:io:kafka:kafka-251:analyzeClassesDependencies FAILED
> Task :sdks:java:io:kafka:kafka-231:analyzeClassesDependencies FAILED
> Task :sdks:java:io:kafka:kafka-241:analyzeClassesDependencies FAILED
> Task :sdks:java:io:kafka:kafka-01103:analyzeClassesDependencies FAILED
> Task :sdks:java:io:kafka:kafka-201:analyzeClassesDependencies FAILED
> Task :sdks:java:io:kafka:kafka-100:analyzeClassesDependencies FAILED

FAILURE: Build completed with 9 failures.

Now:

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.6.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 16s

@Abacn
Copy link
Contributor Author

Abacn commented Jul 27, 2023

R: @johnjcasey @bvolpato

@github-actions
Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

Copy link
Contributor

@bvolpato bvolpato left a comment

Choose a reason for hiding this comment

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

I do ./gradlew build locally too for a quick general check on a change! This will be helpful, thanks Yi

@Abacn Abacn merged commit b1d1fe4 into apache:master Jul 28, 2023
10 of 11 checks passed
@Abacn Abacn deleted the fixbuildcommand branch July 28, 2023 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants