From 39616d02c71afd972896d634039f68e422e48c1c Mon Sep 17 00:00:00 2001 From: Can Elmas Date: Mon, 4 Sep 2017 01:27:17 +0300 Subject: [PATCH] Update README Set sample let version to 1.0.0-beta1 --- README.md | 21 ++++++++++----------- let-sample/build.gradle | 9 +-------- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 8686993..e5f0c60 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ Let [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Let-green.svg?style=true)](https://android-arsenal.com/details/1/2843) [![](https://img.shields.io/badge/AndroidWeekly-%23182-red.svg)](http://androidweekly.net/issues/issue-182) [![Join the chat at https://gitter.im/canelmas/let](https://badges.gitter.im/canelmas/let.svg)](https://gitter.im/canelmas/let?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -Annotation based simple API flavoured with [AOP] (https://en.wikipedia.org/wiki/Aspect-oriented_programming) to handle new Android runtime permission model. +Annotation based simple API flavoured with [AOP](https://en.wikipedia.org/wiki/Aspect-oriented_programming) to handle new Android runtime permission model. -If you check [Google's Samples] (https://github.com/googlesamples/android-RuntimePermissions/blob/master/Application/src/main/java/com/example/android/system/runtimepermissions/MainActivity.java) +If you check [Google's Samples](https://github.com/googlesamples/android-RuntimePermissions/blob/master/Application/src/main/java/com/example/android/system/runtimepermissions/MainActivity.java) about the new permission model, you'll see a lot of boiler plate code for requesting, handling and retrying the request for required permissions. @@ -106,7 +106,6 @@ buildscript { } } - apply plugin: 'com.android.application' apply plugin: 'let' @@ -115,28 +114,28 @@ repositories { } ``` -For SNAPSHOT version : - +For kotlin : ```groovy buildscript { - repositories { - maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } + repositories { + jcenter() } - dependencies { - classpath 'com.canelmas.let:let-plugin:0.1.11-SNAPSHOT' + dependencies { + classpath 'com.canelmas.let:let-plugin:1.0.0-beta1' } } apply plugin: 'com.android.application' apply plugin: 'let' -repositories { - maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } +repositories { + jcenter() } ``` + Proguard ==== diff --git a/let-sample/build.gradle b/let-sample/build.gradle index 9619059..46b434b 100644 --- a/let-sample/build.gradle +++ b/let-sample/build.gradle @@ -13,12 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + buildscript { repositories { jcenter() - mavenLocal() google() -// maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } } dependencies { classpath 'com.canelmas.let:let-plugin:1.0.0-beta1' @@ -28,12 +27,6 @@ buildscript { apply plugin: 'com.android.application' apply plugin: 'let' -repositories { - jcenter() - mavenLocal() -// maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } -} - android { compileSdkVersion versions.compileSdkVersion buildToolsVersion versions.buildToolsVersion