Install PersianDate via Gradle
masterTo use PersianDate in your Android project, follow these two steps in your Gradle configuration:
Add the JitPack repository to your root
build.gradlefile within theallprojectsblock:Add the dependency to your module-level
build.gradlefile.
// Step 1: Root build.gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
// Step 2: Module build.gradle
dependencies {
implementation 'com.github.samanzamani:PersianDate:1.7.1'
}