From 989b8c2c1e9d0b99e890625bbb1f7c9b86b374c2 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Tue, 24 Oct 2017 14:58:40 -0400 Subject: Update readme (#93) --- README.md | 21 ++++++++++++--------- 1 file 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 -- cgit v1.2.3