You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How do u add this as a dependency in build.gradle? Is this correct? #3
Activity
AndroidDeveloperLB commentedon May 5, 2015
I didn't put it on gradle. Sorry.
harinair commentedon Apr 6, 2016
Since many of you asked this, here is an easy trick. jitpack.io provides an easy gradle repo for all opensource projects.
Step 1: Add in your root build.gradle at the end of repositories:
Step 2: Add the dependency
If you want the latest from master:
or if you want a specific commit:
To learn more go to: https://jitpack.io
AndroidDeveloperLB commentedon Apr 6, 2016
@harinair Won't it import the sample stuff too?
I think you should change some stuff on the repo too.
harinair commentedon Apr 6, 2016
@AndroidDeveloperLB Looks like it is really intelligent. It seems to be just building the library as an aar:
https://jitpack.io/com/github/AndroidDeveloperLB/ListViewVariants/ffb83e1019/build.log
Look at the POM:
https://jitpack.io/com/github/AndroidDeveloperLB/ListViewVariants/ffb83e1019/ListViewVariants-ffb83e1019.pom
AndroidDeveloperLB commentedon Apr 6, 2016
@harinair You mean it took only the "library" folder ?
harinair commentedon Apr 6, 2016
@AndroidDeveloperLB
Yes - it looks like that.