Skip to content

Commit

Permalink
Update dependency after publishing to Maven
Browse files Browse the repository at this point in the history
User can add library as dependency from Maven as per different use cases.
  • Loading branch information
kanaksony authored Jul 27, 2021
1 parent d03554a commit eb7cb23
Showing 1 changed file with 24 additions and 18 deletions.
42 changes: 24 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,30 @@ A fully customizable super-easy Page Indicator, with stunning animations and ver
<img src="gifs/elevator.jpg" height="170"><br>
An old elevator that inspired this project.

### Setup (Gradle)
In your project's build.gradle file:

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

In your Application's or Module's build.gradle file:

dependencies {
...
compile 'com.github.BeppiMenozzi:ArcPageIndicator:1.0.2'
...
}
### Dependency
1. For using ArcPageIndicator module in sample app, include the source code and add the below dependencies in entry/build.gradle to generate hap/support.har.
```
dependencies {
implementation project(':arcpageindicator')
implementation fileTree(dir: 'libs', include: ['*.har'])
testCompile 'junit:junit:4.12'
}
```
2. For using ArcPageIndicator in separate application using har file, add the har file in the entry/libs folder and add the dependencies in entry/build.gradle file.
```
dependencies {
implementation fileTree(dir: 'libs', include: ['*.har'])
testCompile 'junit:junit:4.12'
}
```
3. For using ArcPageIndicator from a remote repository in separate application, add the below dependencies in entry/build.gradle file.
```
dependencies {
implementation 'dev.applibgroup:arcpageindicator:1.0.0'
testCompile 'junit:junit:4.12'
}
```

### Minimal usage
Layout for bottom 180° ellipse:
Expand Down

0 comments on commit eb7cb23

Please sign in to comment.