Skip to content

Add Jitpack Publishing Support#4

Open
tternes wants to merge 2 commits intodeviceplug:masterfrom
tternes:tt-jitpack-build
Open

Add Jitpack Publishing Support#4
tternes wants to merge 2 commits intodeviceplug:masterfrom
tternes:tt-jitpack-build

Conversation

@tternes
Copy link
Copy Markdown

@tternes tternes commented Dec 3, 2025

This PR adds support for building and publishing the library with jitpack.io. Currently, it is necessary for release versions to be formally published or for developers to maintain complex build systems to generate this code for their applications.

This change allows libraries that depend on the Java portions of this library (like btleplug) to simply declare the implementation as a dependency in build.gradle:

dependencies {
    implementation "com.github.tternes:jni-utils-rs:14244d5"
}

In this example, a specific commit from my working fork is being specified. Tags, branches, etc. are also supported, giving end developers a lot of flexibility.

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.

1 participant