Repository navigation
ci(jitpack): add configuration for automated builds - #1
Conversation
jiacontrerasp
commented
Jan 5, 2026
- Set JDK to openjdk17.
- Add install step to publish to Maven local skipping signing and tests.
- This ensures JitPack can build and serve the project correctly.
- Set JDK to openjdk17. - Add install step to publish to Maven local skipping signing and tests. - This ensures JitPack can build and serve the project correctly.
Summary of ChangesHello @jiacontrerasp, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a new JitPack configuration file to enable automated builds for the project. By setting the correct JDK version and defining a streamlined installation process that bypasses signing and tests, it ensures that JitPack can reliably build and serve the project's artifacts. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a jitpack.yml file to configure automated builds on JitPack. The configuration correctly specifies OpenJDK 17 and an appropriate install command to build the project while skipping tests and signing. My review includes a suggestion to add caching for Gradle dependencies, which will improve build performance on JitPack.
| jdk: | ||
| - openjdk17 | ||
| install: | ||
| - ./gradlew publishToMavenLocal -Pskip.signing -x test |
There was a problem hiding this comment.
To improve build performance on JitPack, it's a good practice to cache Gradle dependencies and the wrapper between builds. This can significantly speed up subsequent builds.
jdk:
- openjdk17
cache:
- '$HOME/.gradle/caches'
- '$HOME/.gradle/wrapper'
install:
- ./gradlew publishToMavenLocal -Pskip.signing -x testThere was a problem hiding this comment.
Pull request overview
This PR adds JitPack configuration to enable automated builds and distribution of the Bouncy Castle Java library through JitPack's service. The configuration specifies the Java version and the Gradle command needed to publish artifacts to Maven local repository.
- Configures JDK 17 as the build environment for JitPack
- Sets up the install command to publish artifacts to Maven local while skipping tests and signing
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -0,0 +1,4 @@ | |||
| jdk: | |||
| - openjdk17 | |||
There was a problem hiding this comment.
The project documentation (README.md) indicates that it should be built with JDK21 or higher, and the CI configuration uses JDK25 as JAVA_HOME. Using JDK17 may not be sufficient to build the project correctly, especially for modules with version-specific source sets (java9, java25, etc.). Consider using openjdk21 or a higher version to align with the project's build requirements.
| - openjdk17 | |
| - openjdk21 |