Where to put alternative Kotlin compilers when using IDEA on an air-gapped network?

已回答

I have an installation of IDEA on an air-gapped network on a Windows box. I need to continue using the 2.0.21 Kotlin compiler for now because it's the last version that supports Kotlin 1.8. In order to install IDEA 2025.x on that air-gapped network, I need to bring that specific version of the Kotlin compiler as well. Is there a way to include that as part of the installation that I bring from the connected network to the air-gapped one? By default it installs under the directory specified by %APPDATA%, but I would like a solution that isn't user-specific. I can't find how to tell IDEA to look for the kotlin-dist-for-ide directory somewhere besides the default. Any suggestions?

0
Hi there, 
Since the problem seems to be Kotlin-specific, our Kotlin team will take a look at it as soon as they get a chance. 
It might take a while to receive a reply, but rest assured that your request will be addressed.
0
Hi! Thanks for the details.

Hi! Could you please clarify at what moment the issue occurs?
For example, does IntelliJ IDEA try to download a newer Kotlin dependency version during project load or build? We need a clear scenario. 
This probably will become a feature request since it seems that, currently, there is no way to customize that folder. 
0

I want to be able to configure where IDEA looks for the compiler specified here:

So that I can install that in a single place, once, on an air-gapped network where it can't just be pulled down from the internet.

0
Okay, thanks for clarifying. I created a feature request for KTIJ plugin developers. Please follow the issue by pressing the star in the top right corner to get notifications.

KTIJ-36116 (https://youtrack.jetbrains.com/issue/KTIJ-36116) Allow configuring a custom location for kotlin-dist-for-ide in IntelliJ IDEA installations
0

请先登录再写评论。