JetBrains / intellij-platform-gradle-plugin

Gradle plugin for building plugins for IntelliJ-based IDEs

Home Page:https://plugins.jetbrains.com/docs/intellij/gradle-prerequisites.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Document `DownloadAndroidStudioProductReleasesXmlTask.releasesUrl` and `DownloadIdeaProductReleasesXmlTask.releasesUrl

mr-thierry opened this issue · 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

My proposed solution would be to add to the doc:

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

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

This is not planned to be addressed in 1.x;
For 2.0, it is now possible to configure those URLs as described here: #1686 (comment)