Piemissions Utils
A utility library for Android Runtime Permissions
Add it to your project
In your project root open "build.gradle" and to the "repositories" block add:
maven {
url "https://jitpack.io"
}
So that your block should look roughly like this:
repositories {
jcenter() maven {
url "https://jitpack.io"
}
}
Then, in your module "build.gradle" add this into the dependencies block:
compile 'com.github.jitpack:gradle-simple:1.0'