Closed Tarun24RN closed 1 month ago
Duplicate of #86, #66 .
repositories { google() mavenCentral() maven { url 'https://maven.zohodl.com' } } I have put url in the repositories object, there is no such code which you have provided in your earlier solutions allprojects { repositories { .... maven { url 'https://maven.zohodl.com' } .... } } in my build.gradle.
Hi @Tarun24RN
Since Gradle 7.0, it's recommended to use the dependencyResolutionManagement block in settings.gradle for managing project dependencies.
So if your project uses android/settings.gradle
, please use the below sample snippet:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
// Add the Zoho Maven URL here
maven { url 'https://maven.zohodl.com' }
}
}
Else if your project uses android/build.gradle
, please use the below sample snippet:
buildscript {
// Define classpath dependencies or plugins
}
allprojects {
repositories {
// Default repositories for dependencies
google()
mavenCentral()
// Add the Zoho Maven URL here
maven { url 'https:/
/maven.zohodl.com' }
}
}
I hope this helps. If you have any other queries, please write us at support@zohosalesiq.com. We will be happy to help with this case.
Could not determine the dependencies of task ':app:mergeDevelopmentDebugNativeLibs'.