From b51f6fdd13a4fd218797600c491f126efdf13a71 Mon Sep 17 00:00:00 2001 From: Jacky Wang Date: Tue, 12 Feb 2019 11:14:42 +0800 Subject: [PATCH 1/2] Update README-CN.md --- README-CN.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README-CN.md b/README-CN.md index 6396420..24eafb7 100644 --- a/README-CN.md +++ b/README-CN.md @@ -20,6 +20,8 @@ **配置** +在gradle.properties中添加:`greenbean_pods_version=0.0.1` + 在setting.gradle中添加: ```groovy @@ -28,7 +30,7 @@ buildscript { jcenter() } dependencies { - classpath 'tech.jackywang:greenbean-pods-plugin:0.0.1' + classpath "tech.jackywang:greenbean-pods-plugin:${greenbean_pods_version}" } } @@ -41,7 +43,7 @@ apply plugin: 'greenbean-pods-plugin' buildscript { // ... dependencies { - classpath 'tech.jackywang:greenbean-pods-plugin:0.0.1' + classpath "tech.jackywang:greenbean-pods-plugin:${greenbean_pods_version}" } } From ffdae5a71a88fd295933bab3ac73b406f7c7c392 Mon Sep 17 00:00:00 2001 From: Jacky Wang Date: Tue, 12 Feb 2019 11:17:26 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cea3408..8d6c0ea 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ Greenbeanpods can switch online maven repo to local dependencies with one click, #### Usage +Add in gradle.properties: `greenbean_pods_version=0.0.1` + Add in setting.gradle: ```groovy @@ -21,7 +23,7 @@ buildscript { jcenter() } dependencies { - classpath 'tech.jackywang:greenbean-pods-plugin:0.0.1' + classpath "tech.jackywang:greenbean-pods-plugin:${greenbean_pods_version}" } } @@ -34,7 +36,7 @@ Add in build.gradle: buildscript { // ... dependencies { - classpath 'tech.jackywang:greenbean-pods-plugin:0.0.1' + classpath "tech.jackywang:greenbean-pods-plugin:${greenbean_pods_version}" } }