OSGeo / gdal

GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.
https://gdal.org
Other
4.9k stars 2.55k forks source link

Publish JCenter Android AAR Artifacts #1531

Open manimaul opened 5 years ago

manimaul commented 5 years ago

Expected behavior and actual behavior.

Android AAR artifacts should be published to Bintray Jcenter. Publishing Android build artifacts to jcenter will enable android developers to quickly use Gdal in Android applications and libraries by declaring the dependency in their build.gradle.

Ex:

dependencies {
    implementation group:'org.gdal', name:'gdal-android', version: '2.4.0'
}

Notes

Travis CI could leverage a Docker Android NDK image (https://github.com/CircleCI-Public/circleci-dockerfiles/tree/master/android/images) to build the AAR. A good example of building an AAR from Gdal is here https://github.com/paamand/GDAL4Android . Release tagged versions should publish to Jcenter from CI.

Operating system

Android

rouault commented 5 years ago

If you want to be the champion of that effort, you're welcome.

manimaul commented 5 years ago

Ok, that is great. I'll take a look into this. Would you prefer sticking with TravisCI to build and publish the artifacts or would you be ok with adding CircleCI in addition to Travis?