A demo project to illustrate Bintray release configuration of a project which contains several modules.
Bintray just stopped accepting new packages from early 2021. Therefore, to host your Java/Library, you can use Maven Central (Sonatype) by following this post.
A demo project which illustrates how to a distribute Java/Android multiple-module library on Bintray easily.
The steps are explained fully at my blog post.
jcenter
folder and release-bintray.gradle
file into your projectbuild.gradle
file// ...
apply from: rootProject.file('release-bintray.gradle')
For example, please check the module manga
's gradle file in this project.
local.properties
file (which is not tracked by version control).bintray.user=your_username
bintray.apikey=your_api_key (i.e: adfasdf342342j34lba84a25f8c3)
bintray.gpg.password=your_gpg_password
gradle.properties
For example, for module manga
in this project.POM_NAME=Manga
POM_DESCRIPTION=Define general mange character
POM_BINTRAY_NAME=com.quangnguyen.manga:manga
POM_ARTIFACT_ID=manga
POM_PACKAGING=jar
POM_VERSION=1.1.0
./gradlew bintrayUpload
./gradlew *moduleName*:bintrayUpload
If you are interested in my useful blog posts and cool projects, you can subscribe to my newsletter by clicking the below link.
SUBSCRIBE TO USEFUL BLOG POSTS AND COOL PROJECTS.