Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
maven {
url 'https://jitpack.io'
}
}
}
Add it in your root build.gradle at the end of repositories:
dependencies
{
compile 'com.github.karthi72:MyToast:1.0.2'
}
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add the dependency:
<dependency>
<groupId>com.github.karthi72</groupId>
<artifactId>MyToast</artifactId>
<version>1.0.0</version>
</dependency>