Skip to content

ci(jitpack): add configuration for automated builds - #1

Merged
jiacontrerasp merged 1 commit into
mainfrom
chore/add-jitpack-config
Jan 5, 2026
Merged

jiacontrerasp merged 1 commit into
mainfrom
chore/add-jitpack-config

Conversation

@jiacontrerasp

Copy link
Copy Markdown
  • 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.
Copilot AI review requested due to automatic review settings January 5, 2026 17:08
@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @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

  • JitPack Configuration: A new jitpack.yml file has been added to configure automated builds with JitPack.
  • JDK Version: The configuration specifies OpenJDK 17 as the required JDK for JitPack builds.
  • Build Process: The install step for JitPack now uses ./gradlew publishToMavenLocal -Pskip.signing -x test to publish artifacts locally, skipping signing and tests to ensure successful builds.

🧠 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 Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Comment thread jitpack.yml
Comment on lines +1 to +4
jdk:
- openjdk17
install:
- ./gradlew publishToMavenLocal -Pskip.signing -x test

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

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 test

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Comment thread jitpack.yml
@@ -0,0 +1,4 @@
jdk:
- openjdk17

Copilot AI Jan 5, 2026

Copy link

Choose a reason for hiding this comment

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

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.

Suggested change
- openjdk17
- openjdk21

Copilot uses AI. Check for mistakes.
Comment thread jitpack.yml Resolved
@jiacontrerasp
jiacontrerasp merged commit 357f764 into main Jan 5, 2026
@jiacontrerasp
jiacontrerasp deleted the chore/add-jitpack-config branch January 5, 2026 18:26
@jiacontrerasp
jiacontrerasp restored the chore/add-jitpack-config branch January 5, 2026 20:31
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.

2 participants