Skip to content

Commit 5bf4b60

Browse files
committed
Update README.md
1 parent 73fbb6c commit 5bf4b60

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,24 @@
22

33
Example Android project that works with jitpack.io
44

5+
https://jitpack.io/#jitpack/android-example/1.0.1
6+
7+
Add it to your build.gradle with:
8+
```gradle
9+
dependencies {
10+
compile 'com.github.jitpack:android-example:1.0.1@aar'
11+
}
12+
```
13+
14+
# Adding maven plugin
15+
16+
To enable installing into local maven repository and JitPack you need to add the 'android-maven' plugin:
17+
18+
1. Add `classpath 'com.github.dcendents:android-maven-plugin:1.2'` to root build.gradle under buildscripts
19+
2. Add `apply plugin: 'android-maven'` to the library/build.gradle
20+
21+
After these changes you should be able to run:
22+
23+
gradle install
24+
25+

0 commit comments

Comments
 (0)