i may be hallucinating, but i could have sworn at ...
# community-support
b
i may be hallucinating, but i could have sworn at some point jetbrains stated that even if using the
-bin
version of the wrapper, they’d automatically fetch gradle sources - but i can’t seem to actually find this (either i made it up, or i’m just barking up the wrong google-tree). am i just mistaken?
v
Are you using Groovy DSL or Kotlin DSL?
b
kotlin
v
Then you are right, except that Gradle is fetching the sources and provides them to IJ
With Kotlin DSL when you sync, Gradle automatically downloads the sources and provides them to IJ if the
-bin
is used.
b
ah! maybe that’s why my google is failing. though i can’t seem to find doc on gradle doing it either
v
The
-all
has actually just two valid use-cases I'm aware of. • When using the Groovy DSL, and then only while editing the build scripts, otherwise everyone and everything that just wants to execute the build is wasting time, bandwidth, and disk space. • When you need to avoid the source downloading, for example because the URL is currently not configurable but hard-coded and you cannot access the internet.
There is no doc that it is doing that I'm aware of. It "just works". 🙂
b
ah, so i hallucinated the documentation, but got how it works correct 😄 man, i could have swore i saw this written somewhere. maybe it wasn’t doc but just some post somewhere (or, probably here 😆 )
v
Or there is doc that I don't know or forgot about, also quite possible 😄
Or is another victim of Laura's restructuring, some doc pages or sections got lost during that 😕