Hi there, when we try to build `kotlint-native`(version:*1.9.22*), we encountered this error.
Copy code
> A problem occurred configuring project ':gradle-settings-conventions:build-cache'.
> When using exclusive repository content in 'settings.pluginManagement.repositories', you cannot add repositories to 'buildscript.repositories'.
For more information, please refer to <https://docs.gradle.org/8.2.1/userguide/declaring_repositories.html#declaring_content_exclusively_found_in_one_repository> in the Gradle documentation.
The environment configuration of this machine
Copy code
Gradle 7.3.1
------------------------------------------------------------
Build time: 2021-12-01 15:42:20 UTC
Revision: 2c62cec93e0b15a7d2cd68746f3348796d6d42bd
Kotlin: 1.5.31
Groovy: 3.0.9
Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM: 17.0.6 (17.0.6+1-LTS)
OS: Mac OS X 12.5.1 x86_64
Does anyone encounter the same issue?
👍 1
c
Chrimaeon
07/01/2024, 3:49 PM
Either use
Pluginmanagement.repositories in settings.gradle file or
buildScript.repositories in build.gradle file.