sqlite-android
sqlite-android copied to clipboard
Publish to Maven Central
Bintray is getting sunsetted on May 1st, 2021: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/
Thanks! that's unfortunate news will work to publish the library on maven central instead.
Alternatively, instead of using another 3rd party, it could be that the internet allows this area to be simplified using new functionality
Gradle itself appears to allow addition of git repos https://stackoverflow.com/a/56787382/9910298
...and/or there is jitpack.io which does the same
I find working with Sonatype / Maven OSS repo to be fairly cumbersome personally and I'd avoid it as a maintainer. Sure it works, I do use it, but if jitpack or a direct dependency worked, simpler IMHO.
Outstanding question would be, does it handle the native compilation?
I tried doing the gradle source reference thing but:
- the compile is pretty slow, it would be nice to not have to do that
- the NDK is huge! I would only need it for this. Plus the version in the build.gradle here is outdated, would be nice to have a more current one at least
- the build does not appear to be gradle 7 compatible, which is a bummer because I just finished forward-porting to gradle 7
All of those things are the reasons we use compiled dependencies so I took a different line and got it to work on jitpack: https://jitpack.io/com/github/mikehardy/sqlite-android/3.35.1.1/build.log
You can already depend on this artifact and try it if you like:
implementation 'com.github.mikehardy:sqlite-android:3.35.1.1'
I'll PR the differences over here, then all that needs to happen in the future is tagging the builds (or I guess people can use commit hashes off main branch if needed, but tags are more appealing)
Thanks! that's unfortunate news will work to publish the library on maven central instead.
Any progress on this? @npurushe
It's closed because it's resolved, it's on jitpack.io not maven central though, examine updated instructions and everything @heybradharris https://github.com/requery/sqlite-android/#usage
It's closed because it's resolved, it's on jitpack.io not maven central though, examine updated instructions and everything @heybradharris https://github.com/requery/sqlite-android/#usage
I did not see that the group name changed to com.github.requery. Thank you for the reply!
I realize the project publishes to jitpack, however, is there any appetite to revisit also publishing to Maven Central? We don't use jitpack on our project given the not quite immutable nature of artifacts, so being accessible somewhere else would be helpful.
Yes this could be possible, will reopen the issue
@npurushe would you be up for a PR to add this support? I could structure it like we do in our projects (https://github.com/slackhq/eithernet for example) using this plugin: https://github.com/vanniktech/gradle-maven-publish-plugin
Yes feel free to submit a PR
@npurushe My PR was merged but the latest releases are still not published on maven central. Did you change your mind?
I think there are some manual processes for publishing to maven central that need to be started to make this work, sorry about the delay will try to look into this next week
Is 3.43.0 published to Maven Central?
Is 3.45.0 published to Maven Central?