aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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