If I add a `js` target to my KMP build, I get the ...
# gradle
e
If I add a
js
target to my KMP build, I get the following error:
Copy code
Build was configured to prefer settings repositories over project repositories
because I have:
Copy code
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
in my
settings.gradle.kts
. I remember this being reported somewhere (Gradle issues, youtrack, etc...), but I can't find it now. Anyone know where it is?
🤔 1
t
AFAIK Kotlin/JS part adds
ivy
repository for npm dependencies
e
Got the full message:
Copy code
Build was configured to prefer settings repositories over project repositories but repository 'Node Distributions at <https://nodejs.org/dist>' was added by unknown code
t
yes
e
Oh look I commented on it 😅
😅 2
t
e
Is there a plan to resolve it at the plugin level at some point? I can always comment that line out for now.
t
not in the nearby plans, probably will fix it via https://youtrack.jetbrains.com/issue/KT-51631/Provide-JS-toolchain
🙏 1
182 Views