intellij-platform-gradle-plugin icon indicating copy to clipboard operation
intellij-platform-gradle-plugin copied to clipboard

Document `DownloadAndroidStudioProductReleasesXmlTask.releasesUrl` and `DownloadIdeaProductReleasesXmlTask.releasesUrl

Open mr-thierry opened this issue 1 year ago • 2 comments

Describe the need of your request

There is no example nor mention of DownloadAndroidStudioProductReleasesXmlTask.releasesUrl and DownloadIdeaProductReleasesXmlTask.releasesUrl in the documentation

Proposed solution

Add a buildScript example of DownloadAndroidStudioProductReleasesXmlTask.releasesUrl and DownloadIdeaProductReleasesXmlTask.releasesUrl

Alternatives you've considered

No response

Additional context

No response

mr-thierry avatar May 06 '24 20:05 mr-thierry

My proposed solution would be to add to the doc:

tasks.withType<DownloadAndroidStudioProductReleasesXmlTask>().configureEach {
    releasesUrl = "https://your.internal.server/android-list.xml"
}

mr-thierry avatar May 07 '24 18:05 mr-thierry

Note this affects 1.x only which is now in maintenance mode.

YannCebron avatar May 28 '24 15:05 YannCebron

This is not planned to be addressed in 1.x; For 2.0, it is now possible to configure those URLs as described here: https://github.com/JetBrains/intellij-platform-gradle-plugin/issues/1686#issuecomment-2221297523

hsz avatar Jul 12 '24 21:07 hsz