Jitpack.io: Can't get a multi-module Android library to work

Created on 17 Sep 2015  路  5Comments  路  Source: jitpack/jitpack.io

The library is here: https://github.com/afollestad/material-dialogs. I'm using a custom domain, so the group is com.afollestad.

The project contains a core module, and a commons module. Android Studio is unable to find the individual modules (e.g. with compile 'com.afollestad:material-dialogs:core:0.8.0.0). I also need it to be an AAR, since the library contains resources, but using the @aar suffix doesn't seem to work.

I did include the repository, also. A few of my other projects use JitPack, but I decided to switch this one over today since Bintray has become too complex.

Most helpful comment

Got it, makes sense.

It could be that there is a small typo in the dependency:

compile 'com.afollestad:material-dialogs:core:0.8.0.0' 
compile 'com.afollestad.material-dialogs:core:0.8.0.0' // should be this

Apart from that everything seems to work.

All 5 comments

Hi @afollestad

The 0.8.0.0 release seems to be missing https://github.com/afollestad/material-dialogs/releases

Hi, @jitpack-io,

I had deleted it so users of my library didn't see it. I published the release again now so you can see it.

https://github.com/afollestad/material-dialogs/releases/tag/0.8.0.0

Got it, makes sense.

It could be that there is a small typo in the dependency:

compile 'com.afollestad:material-dialogs:core:0.8.0.0' 
compile 'com.afollestad.material-dialogs:core:0.8.0.0' // should be this

Apart from that everything seems to work.

Wow, no wonder, thanks for your help!

No worries, enjoy!:)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cekvenich picture cekvenich  路  4Comments

Hala-Nearmotion picture Hala-Nearmotion  路  4Comments

ennru picture ennru  路  4Comments

bsideup picture bsideup  路  4Comments

jitpack-io picture jitpack-io  路  5Comments