Would it be possible to get the 1.0-pre-v11 aar uploaded to jcenter? Or tell me where else I can get the aar? Worse comes to worse, I will download the branch and build it myself, but I would prefer not to.
gradle installRelease
Download https://jcenter.bintray.com/net/rdrei/android/dirchooser/library/1.0-pre-v11/library-1.0-pre-v11.pom
Download https://jcenter.bintray.com/net/rdrei/android/dirchooser/parent/1.0-pre-v11/parent-1.0-pre-v11.pom
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Could not find library.aar (net.rdrei.android.dirchooser:library:1.0-pre-v11).
Searched in the following locations:
https://jcenter.bintray.com/net/rdrei/android/dirchooser/library/1.0-pre-v11/library-1.0-pre-v11.aar
I tried to change my gradle build to use apklib, but gradle said no:
gradle installRelease
WARNING: Packaging for dependency net.rdrei.android.dirchooser:library:1.0-pre-v11 is 'apklib' and is not supported. Only 'aar' libraries are supported.
WARNING: Packaging for dependency net.rdrei.android.dirchooser:library:1.0-pre-v11 is 'apklib' and is not supported. Only 'aar' libraries are supported.
WARNING: Packaging for dependency net.rdrei.android.dirchooser:library:1.0-pre-v11 is 'apklib' and is not supported. Only 'aar' libraries are supported.
WARNING: Packaging for dependency net.rdrei.android.dirchooser:library:1.0-pre-v11 is 'apklib' and is not supported. Only 'aar' libraries are supported.
The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
:app:preBuild UP-TO-DATE
:app:preReleaseBuild UP-TO-DATE
:app:checkReleaseManifest
:app:preDebugBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE
:app:prepareComAndroidSupportConstraintConstraintLayout102Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42301Library UP-TO-DATE
:app:prepareReleaseDependencies
Packaging for dependency net.rdrei.android.dirchooser:library:1.0-pre-v11 is 'apklib' and is not supported. Only 'aar' libraries are supported.
Packaging for dependency net.rdrei.android.dirchooser:library:1.0-pre-v11 is 'apklib' and is not supported. Only 'aar' libraries are supported.
:app:prepareReleaseDependencies FAILED
Yes, this was built in the days before AARs were a thing. Sorry, but I do not plan to support this. If you want to use pre-v11 versions you'll have to check out the old branch and build it yourself. Sorry about that!
Would it be possible to get the 1.0-pre-v11 aar uploaded to jcenter? Or tell me where else I can get the aar? Worse comes to worse, I will download the branch and build it myself, but I would prefer not to.
The pre-v11 branch (https://github.com/passy/Android-DirectoryChooser/tree/pre-v11) specifies that we should use this dependency for gradle:
Only apklib is present at https://jcenter.bintray.com/net/rdrei/android/dirchooser/library/1.0-pre-v11/, so as a result, the gradle build fails.
I tried to change my gradle build to use apklib, but gradle said no: