0

I found this Github repository: https://github.com/applidium/HeaderListView and I want to include it in my Android App in AndroidStudio by adding just a single line to the repository to the build.gradle file, e.g.:

compile 'com.COMPANY.PROJECT:PROJECT:1.0.0'

Now, since the above mentioned HeaderListView project is lacking gradle support, I want to fork it and add gradle support. How can I achieve this? Can you please give me examples or point me to any tutorial or documentation about this topic?

electronix384128
  • 6,625
  • 11
  • 45
  • 67

2 Answers2

1

You need to upload it to Maven Central. Once it's live there, you can refer it as you asked

gandharva
  • 691
  • 5
  • 16
  • This tutorial describes the required steps: http://wiki.ivonet.nl/display/JAVA/Get+you+maven+project+into+the+Maven+Central+Repository – electronix384128 Apr 03 '14 at 08:23
1

You need only import HeaderListView project,and add include ':HeaderListView' into settings.gradle, then add dependencies { compile project(':HeaderListView') } into your main project's build.gradle.

wayne
  • 191
  • 7