IntelliJ Platform 2.2.1 JBR
Planned
Is there a way to prevent the JBR being downloaded?
I have tried adding `jetbrainsRuntimeLocal` in the dependencies to point to a local copy of JBR
e.g.
dependencies {
intellijPlatform {
intellijIdeaCommunity "242.21829.142", false
jetbrainsRuntimeLocal(jbrHome)
}
}
but it still tries to download the JBR from jetbrainsRuntime() repo as well during the build.
Also, does the jetbrainsRuntime() point to a maven repository?
Please sign in to leave a comment.
Trying to build a plugin within a CI/CD environment that doesn't have access to the external resources i.e. JBR, so I want to be able to set the JBR manually from an internal location.
Also, oddly if I set `org.jetbrains.intellij.platform.useCacheRedirector=false` in gradle.properties. It still tries to download the JBR using cache-redirector.
This is the error I get, even if I try setting the JBR using `org.gradle.java.home` and` jetbrainsRuntimeLocal()`
The only workaround I could find was to exclude the JBR from the configuration
Would be good though, if using `jetbrainsRuntimeLocal` then JBR download attempt does not occur