@@ -5,6 +5,11 @@ import { parseArgs } from "util";
55
66export type TaskInfo = TargetInfo & { id : number ; taskName : string } ;
77
8+ // `usePlatformVersionType`
9+ // https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html#target-versions-installers:~:text=The%20listing%20of%20all%20present%20installers%20can%20be%20resolved%20with%20updates%20XML%20files%20for%20JetBrains%20IDEs%20and%20Android%20Studio%20as%20well%20as%20by%20executing%20the%20printProductsReleases%20task.
10+ //
11+ // curl -s https://www.jetbrains.com/updates/updates.xml | xmllint --xpath "//product/@name" -
12+
813export const latestBackendPluginGradleTarget : TaskInfo = {
914 id : 1 ,
1015 taskName : "Latest Backend Plugin" ,
@@ -24,7 +29,7 @@ pluginUntilBuild={{pluginUntilBuild}}
2429# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
2530# See https://jb.gg/intellij-platform-builds-list for available build versions.
2631pluginVerifierIdeVersions={{pluginVerifierIdeVersions}}
27- # Version from "com.jetbrains.intellij.idea" which can be found at https://www.jetbrains.com/intellij-repository/snapshots
32+ # Version from "com.jetbrains.intellij.idea" which can be found at https://www.jetbrains.com/updates/updates.xml or exec \`./gradlew printProductsReleases\`
2833platformVersion={{platformVersion}}
2934` ,
3035} ;
@@ -35,7 +40,7 @@ export const latestGatewayPluginGradleTarget: TaskInfo = {
3540 productId : "gateway" ,
3641 productCode : "GW" ,
3742 productType : "eap,rc,release" ,
38- usePlatformVersionType : "version " ,
43+ usePlatformVersionType : "build " ,
3944 gradlePropertiesPath : path . resolve (
4045 pathToProjectRoot ,
4146 "components/ide/jetbrains/gateway-plugin/gradle-latest.properties" ,
@@ -48,7 +53,7 @@ pluginUntilBuild={{pluginUntilBuild}}
4853# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
4954# See https://jb.gg/intellij-platform-builds-list for available build versions.
5055pluginVerifierIdeVersions={{pluginVerifierIdeVersions}}
51- # Version from "com.jetbrains.gateway" which can be found at https://www.jetbrains.com/intellij-repository/snapshots
56+ # Version from "com.jetbrains.gateway" which can be found at https://www.jetbrains.com/updates/updates.xml or exec \`./gradlew printProductsReleases\`
5257platformVersion={{platformVersion}}
5358` ,
5459} ;
@@ -72,7 +77,7 @@ pluginUntilBuild={{pluginUntilBuild}}
7277# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
7378# See https://jb.gg/intellij-platform-builds-list for available build versions.
7479pluginVerifierIdeVersions={{pluginVerifierIdeVersions}}
75- # Version from "com.jetbrains.gateway" which can be found at https://www.jetbrains.com/updates/updates.xml
80+ # Version from "com.jetbrains.gateway" which can be found at https://www.jetbrains.com/updates/updates.xml or exec \`./gradlew printProductsReleases\`
7681platformVersion={{platformVersion}}
7782` ,
7883} ;
0 commit comments