aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-10-24 14:58:40 -0400
committerGitHub <noreply@github.com>2017-10-24 14:58:40 -0400
commit989b8c2c1e9d0b99e890625bbb1f7c9b86b374c2 (patch)
treeb76391a2935360462a5aab74e488ea6ea87df949 /README.md
parent681effece90ff4e892506ee5f5057bee4776c48b (diff)
downloadkau-989b8c2c1e9d0b99e890625bbb1f7c9b86b374c2.tar.gz
kau-989b8c2c1e9d0b99e890625bbb1f7c9b86b374c2.tar.bz2
kau-989b8c2c1e9d0b99e890625bbb1f7c9b86b374c2.zip
Update readme (#93)
Diffstat (limited to 'README.md')
-rw-r--r--README.md21
1 files changed, 12 insertions, 9 deletions
diff --git a/README.md b/README.md
index bc09b0f..0e762d5 100644
--- a/README.md
+++ b/README.md
@@ -29,12 +29,13 @@ allprojects {
...
jcenter()
maven { url "https://jitpack.io" }
- maven { url "https://maven.google.com" } //for gradle < 4.0
- google() //for gradle >= 4.0
+ google()
}
}
```
+(If you are using gradle < 4.0, use `maven { url "https://maven.google.com" }` instead of `google()`)
+
And add the following dependencies (You can use a specific version, commit, or -SNAPSHOT):
Note that only `core` is required if you want the basic features.
@@ -43,19 +44,21 @@ Note that if you use any particular submodule, it will automatically include all
```gradle
dependencies {
//All submodules extend this
- compile "ca.allanwang.kau:core:$KAU"
+ implementation "ca.allanwang.kau:core:$KAU"
//All submodules with extensive ui extend this
- compile "ca.allanwang.kau:core-ui:$KAU"
+ implementation "ca.allanwang.kau:core-ui:$KAU"
- compile "ca.allanwang.kau:about:$KAU"
- compile "ca.allanwang.kau:colorpicker:$KAU"
- compile "ca.allanwang.kau:kpref-activity:$KAU"
- compile "ca.allanwang.kau:mediapicker:$KAU"
- compile "ca.allanwang.kau:searchview:$KAU"
+ implementation "ca.allanwang.kau:about:$KAU"
+ implementation "ca.allanwang.kau:colorpicker:$KAU"
+ implementation "ca.allanwang.kau:kpref-activity:$KAU"
+ implementation "ca.allanwang.kau:mediapicker:$KAU"
+ implementation "ca.allanwang.kau:searchview:$KAU"
}
```
+(If you are using gradle < 4.0, use `compile` instead of `implementation`)
+
-----------
# Submodules