Setting `yarn.downloadBaseUrl = null` got deprecated in KGP 2.1. It instructs to use `yarn.downloadB...
v
Setting
yarn.downloadBaseUrl = null
got deprecated in KGP 2.1. It instructs to use
yarn.downloadBaseUrlProperty
instead, but that is internal. 😕
1
Ah, the deprecation hint is just wrong: https://youtrack.jetbrains.com/issue/KT-77326
👍 1
d
Found this while wanting to disable self-managed
yarn
(preferring to use system
yarn
), here's the updated snippet for root `build.gradle.kts`:
Copy code
rootProject.plugins.withType<YarnPlugin> {
    rootProject.the<YarnRootEnvSpec>().download = false
}