Add it to your build.gradle with:
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
and:
dependencies {
implementation 'com.github.dotrinhdev:protool:3.0'
}
https://jitpack.io/#dotrinhdev/protool
If you add a sample app to the same repo then your app needs to have a dependency on the library. To do this in your app/build.gradle add:
dependencies {
compile project(':protool')
}