Skip to content

How do u add this as a dependency in build.gradle? Is this correct?  #3

Closed

Description

@gayathri-nair03
No description provided.

Activity

  1. AndroidDeveloperLB commented on May 5, 2015

    @AndroidDeveloperLB
    Owner

    I didn't put it on gradle. Sorry.

  2. harinair commented on Apr 6, 2016

    @harinair

    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:

        allprojects {
            repositories {
                ...
                maven { url "https://jitpack.io" }
            }
        }
    

    Step 2: Add the dependency

    If you want the latest from master:

        dependencies {
            compile 'com.github.AndroidDeveloperLB:ListViewVariants:-SNAPSHOT'
        }
    

    or if you want a specific commit:

        dependencies {
                compile 'com.github.AndroidDeveloperLB:ListViewVariants:bca271a97b'
        }
    

    To learn more go to: https://jitpack.io

  3. AndroidDeveloperLB commented on Apr 6, 2016

    @AndroidDeveloperLB
    Owner

    @harinair Won't it import the sample stuff too?
    I think you should change some stuff on the repo too.

  4. AndroidDeveloperLB commented on Apr 6, 2016

    @AndroidDeveloperLB
    Owner

    @harinair You mean it took only the "library" folder ?

  5. harinair commented on Apr 6, 2016

    @harinair

    @AndroidDeveloperLB
    Yes - it looks like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions