How to manually download ideaIC sdk in gradle build task?
Answered
Unfortunately, since I have a very slow network, when I build an intellij-plugin for the first time, it takes me hours to download the ideaIC sdk (e.g. in following picture, the ideaIC-212.3116-EAP-CANDIDATE-SNAPSHOT.zip), and the download fails easily T_T. But using chrome, I can download it a lot easier (In fact I've already downloaded it this way) , so is there any way to help me:
during "./gradlew build", do not download that zip, but use my local downloaded one.
Do I need to modify my build.gradle script? I've tried somehow, but not worked.
Please sign in to leave a comment.
Xiarui Xr, it is possible to use the manually downloaded archive – you'll need to put it into the proper location:
That should do the job.
Thank you so much for your intimate reply, I've tried it and it works properly! That saves me so much time!