kshoji / javax.sound.midi-for-Android

Package javax.sound.midi porting for Android
Apache License 2.0
76 stars 34 forks source link

Fix JitPack build #21

Closed bmaupin closed 6 months ago

bmaupin commented 2 years ago

This fixes #20

I added repositories.mavenInstaller and it seems to copy the build locally now. I also created a variable for pom.version so you only have to change it in one place. I didn't create a variable for pom.artifactId because I figured you won't change it.

I tested it out in my fork and the JitPack build works now: https://jitpack.io/com/github/bmaupin/javax.sound.midi-for-Android/fix-jitpack-build-v0.0.4-g8496468-2/build.log

I also tested it out in my project with the fix from the fork and it works:

allprojects {
    repositories {
        maven { url "https://jitpack.io" }
dependencies {
    implementation 'com.github.bmaupin:javax.sound.midi-for-Android:fix-jitpack-build-SNAPSHOT'

Thanks!

kshoji commented 6 months ago

I've fixed this issue with updating the latest gradle config and adding a jitpack.yml config file.

Now, the jitpack repository provides the latest version of the library. https://jitpack.io/#kshoji/javax.sound.midi-for-Android