Add it in your root settings.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.dhavanikgithub:attendance_moodle_api_lib:1.2.5'
}
android {
compileSdk 33
defaultConfig {
...
targetSdk 33
...
}
}