Skip to content

Commit fddfd60

Browse files
committed
update README
1 parent ebddcaf commit fddfd60

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

README.md

+26-3
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,32 @@ This project already add `consumerProguardFiles`, so feel free to use proguard.
6161

6262
## How to install
6363

64-
Check the release tab, choose latest tag, download the aar attachment and setup your .gradle file
65-
If you reference aar in `@aar` notion, be sure to turn on `transitive=true`,
66-
runtime errors/exceptions like `ClassNotFound` will be raised
64+
For now, you have to download source and install it to local maven. I will publish it to online repo soon.
65+
66+
1. clone this repo and run `gradlew lib:install`
67+
this will install the UploadManager library to your local maven repo (in `~/.m2`)
68+
69+
2. edit `yourProject/app/build.gradle`
70+
71+
add
72+
```groovy
73+
repositories {
74+
google()
75+
jcenter()
76+
mavenLocal()
77+
}
78+
```
79+
80+
and
81+
82+
```groovy
83+
dependencies {
84+
implementation 'me.ctknight.uploadmanager:lib:$latest-version'
85+
}
86+
```
87+
88+
be sure to replace the $latest-version with correct version number
89+
6790
## License
6891
6992
```

0 commit comments

Comments
 (0)