Closed mr-thierry closed 1 month ago
Thanks for highlighting that, Roy! I did some refactoring around so-called Build Features and created a mechanism for accepting not only boolean values. Having that, I could easily introduce Gradle properties for customizing mentioned URLs.
Starting from 2.0.0-beta9
, you'll be able to set in gradle.properties
file:
org.jetbrains.intellij.platform.productsReleasesAndroidStudioUrl=https://jb.gg/android-studio-releases-list.xml
org.jetbrains.intellij.platform.productsReleasesJetBrainsIdesUrl=https://www.jetbrains.com/updates/updates.xml
Thanks for the fast follow-up!
That being said, wouldn't it make more sense to be part of the build config? i.e. in build.gradle.kts
something like:
intellijPlatform {
productsReleasesAndroidStudioUrl=https://jb.gg/android-studio-releases-list.xml
productsReleasesJetBrainsIdesUrl=https://www.jetbrains.com/updates/updates.xml
}
I get your point, but one should not often adjust this. Also, the mechanism of resolving dependencies is pretty deep — that part is executed in dependencies resolution, and passing IntelliJ Platform extension properties down there would be tricky.
What happened?
Using
2.0.0-beta8
, these URLs cannot be configured. We build our plugins on an internal CI server which cannot access the URL. We maintain an internal proxy to these files. But with2.0.0-beta8
it is not possible to configure a different URL.Relevant log output or stack trace
No response
Steps to reproduce
https://www.jetbrains.com/updates/updates.xml
Gradle IntelliJ Plugin version
2.0.0-beta8
Gradle version
8.8
Operating System
None
Link to build, i.e. failing GitHub Action job
No response