Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Set sample let version to 1.0.0-beta1
  • Loading branch information
Can Elmas authored and Can Elmas committed Sep 3, 2017
1 parent c7dfb38 commit 39616d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 19 deletions.
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -106,7 +106,6 @@ buildscript {
}
}
apply plugin: 'com.android.application'
apply plugin: 'let'
Expand All @@ -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
====

Expand Down
9 changes: 1 addition & 8 deletions let-sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down

0 comments on commit 39616d0

Please sign in to comment.