anuragmantri opened a new issue, #265: URL: https://github.com/apache/polaris/issues/265
### Is your feature request related to a problem? Please describe. Polaris uses [RepositoriesMode.FAIL_ON_PROJECT_REPOS](https://github.com/apache/polaris/blob/0a539dbd47a99d9c50ef3598d0ee8ee770a864ea/settings.gradle.kts#L66) setting for dependency management. For companies using gradle init scripts with internal repository declarations, this will fail to build with below error ``` Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by initialization script '/Users/anurag/.gradle/init.gradle' ``` Should we remove this mode or set it to [PREFER_SETTINGS](https://docs.gradle.org/current/javadoc/org/gradle/api/initialization/resolve/RepositoriesMode.html#PREFER_SETTINGS) instead? What are your thoughts @flyrain @aihuaxu ? ### Describe the solution you'd like set repositories mode to it to [PREFER_SETTINGS](https://docs.gradle.org/current/javadoc/org/gradle/api/initialization/resolve/RepositoriesMode.html#PREFER_SETTINGS) or none ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
