JetBrains / sbt-idea-plugin

Develop IntelliJ plugins with Scala and SBT
Apache License 2.0
98 stars 28 forks source link

Can we make baseUrl for JBIdeaRepoArtifactResolver a configurable setting? #42

Closed Thangiee closed 5 years ago

Thangiee commented 5 years ago

https://github.com/JetBrains/sbt-idea-plugin/blob/741133353bda576cfd89a572c1557cc4cc334b4f/ideaSupport/src/main/scala/org/jetbrains/sbtidea/download/JBIdeaRepoArtifactResolver.scala#L38

I'm building a plugin on CI at work and I have to go through a proxy to download the SDK zip.

i.e.

sbt-idea-plugin is hardcoded to download from https://www.jetbrains.com/intellij-repository/releases/com/jetbrains/intellij/idea/ideaIC/192.7142.36/ideaIC-192.7142.36.zip

I need to change the url to this: https://artifactory.twitter.biz/intellij-repository/releases/com/jetbrains/intellij/idea/ideaIC/192.7142.36/ideaIC-192.7142.36.zip

thanks!