Unable to use OtpEditText from Gradle Script
Describe the bug
We are unable to use OtpEditText using Gradle Script.
To Reproduce Steps to reproduce the behaviour:
- Add library to app module gradle file
-
implementation 'com.github.swapnil1104:OtpEditText:1.0.0'// otp edit text - Click on SyncNow in Android Studio.
- See error
Expected behaviour Android app should build without any issues.
Screenshots
[00:37:08]: ▸ Execution failed for task ':app:mergeStagingArtProfile'. [00:37:08]: ▸ > Could not resolve all dependencies for configuration ':app:stagingRuntimeClasspath'. [00:37:08]: ▸ The project declares repositories, effectively ignoring the repositories you have declared in the settings. [00:37:08]: ▸ You can figure out how project repositories are declared by configuring your build to fail on project repositories. [00:37:08]: ▸ See https://docs.gradle.org/7.4.2/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories for details. [00:37:08]: ▸ > Could not find com.github.swapnil1104:OtpEditText:1.0.0. [00:37:08]: ▸ Searched in the following locations: [00:37:08]: ▸ - https://maven.google.com/com/github/swapnil1104/OtpEditText/1.0.0/OtpEditText-1.0.0.pom [00:37:08]: ▸ - https://repo.maven.apache.org/maven2/com/github/swapnil1104/OtpEditText/1.0.0/OtpEditText-1.0.0.pom [00:37:08]: ▸ - https://plugins.gradle.org/m2/com/github/swapnil1104/OtpEditText/1.0.0/OtpEditText-1.0.0.pom [00:37:08]: ▸ - https://repo.sendbird.com/public/maven/com/github/swapnil1104/OtpEditText/1.0.0/OtpEditText-1.0.0.pom [00:37:08]: ▸ - https://jitpack.io/com/github/swapnil1104/OtpEditText/1.0.0/OtpEditText-1.0.0.pom [00:37:08]: ▸ Required by: [00:37:08]: ▸ project :app [00:37:08]: ▸ * Try:
I got the same issue here