Why does "gradle: configure build" download a IdeaC.zip?
已回答
Hi, I followed official document on starting development of plugin with gradle, and the "gradle: configure build" seems never ends.
Then I tried to run "gradle build" from the command line on the newly created project out of template, it showed that it was downloading a IdeaC-2019.3.3.zip which is >500 MB.
Why did it do that? Anyway to avoid it? Since I cannot continue.
请先登录再写评论。
"gradle build" must download the platform ZIP once, so this is expected. Depending on your internet connection, that might take a while.
There's an option to use locally installed Idea instance. See IntellyJ gradle plugin docs.
I'm in a bad network and have tried for two days and still failed to download ideaIC-2020.1.2.zip.
I found that the cache file is in "C:\Users\<user_name>\AppData\Local\Temp\" with name like `gradle_download<numbers>bin".
Is there any way to use a offline file?
@..., you can specify the path to your local IDE using the localPath property. For more details, please check the Gradle IntelliJ Plugin docs - IntelliJ Platform properties section.