Skip to content
This repository has been archived by the owner on Apr 19, 2018. It is now read-only.

Added minimal support for Gradle, and thus compiling with Android Studio. #381

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

noordawod
Copy link

It's simpler now to use the original sources from Github, just clone the repo and add two lines in your project's settings.gradle (assuming you cloned the repo at the same directory level where app/ directory is):

include 'ViewPagerIndicator'
project(':ViewPagerIndicator').projectDir = new File('ViewPagerIndicator/library')

and in your app/build.gradle's dependencies:

compile project(':ViewPagerIndicator')

@EdwardQuixote
Copy link

This is a great trick, but I suppose you have to convert the Project to a the Android Studio format before using the above lines of code.(Coz the project is currently in Eclipse Format).

@noordawod
Copy link
Author

Nope, you don't have to. Gradle's configuration is so simple to change,
I just updated it to use Eclipse's directory structure.

It's safe to pull because I use it on my Android Studio :)

Noor

On 2015-10-14 17:28, Edward Quixote wrote:

This is a great trick, but I suppose you have to convert the Project to a the Android Studio format before using the above lines of code.(Coz the project is currently in Eclipse Format).

Reply to this email directly or view it on GitHub [1].

Links:

[1]
#381 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants