I wonder about this Gradle `idea` plugin ```idea {...
# getting-started
i
I wonder about this Gradle
idea
plugin
Copy code
idea {
    module {
        isDownloadJavadoc = true
        isDownloadSources = true
    }
}
1. What exactly this does? (I know downloads Javadoc and sources, but is this displayed in the IDE?) 2. Does it make seance to use tit with Koltin? 3. If yes, then Should this be configures at top-level gradle file level or per module level?
v
Iirc this is only relevant if you call the old
ideaModule
/
idea
task that would then also download those artifacts and configure them in the generated
iml
files for usage in the IDE. But except for very exceptional cases, I wouldn't use those tasks nowadays but properly import the project in the IDE and in that case it shouldn't be relevant as far as I know. Some other settings of that plugin are taken into account though even with the proper importing.
c
I think the regular IDEA import knows how to find the sources and documentation by itself nowadays? At least I've never noticed them missing
👍 1
v
Exactly
👍 1