Browse Source

Adjust IDE plugin compatibility range

pull/633/head
Alexey Tsvetkov 4 years ago committed by Alexey Tsvetkov
parent
commit
de66648650
  1. 21
      idea-plugin/build.gradle.kts
  2. 9
      idea-plugin/gradle.properties

21
idea-plugin/build.gradle.kts

@ -18,15 +18,14 @@ repositories {
intellij { intellij {
pluginName = "Compose for Desktop IDE Support" pluginName = "Compose for Desktop IDE Support"
type = "IC" type = properties("platform.type")
downloadSources = true version = properties("platform.version")
updateSinceUntilBuild = true downloadSources = properties("platform.download.sources").toBoolean()
version = "203.7717.56"
setPlugins( setPlugins(
"java", "java",
"com.intellij.gradle", "com.intellij.gradle",
"org.jetbrains.kotlin:203-1.4.32-release-IJ7148.5" "org.jetbrains.kotlin"
) )
} }
@ -47,6 +46,16 @@ tasks {
publishPlugin { publishPlugin {
token(System.getenv("IDE_PLUGIN_PUBLISH_TOKEN")) token(System.getenv("IDE_PLUGIN_PUBLISH_TOKEN"))
channels("Alpha") channels(properties("plugin.channels"))
}
patchPluginXml {
sinceBuild(properties("plugin.since.build"))
untilBuild(properties("plugin.until.build"))
}
runPluginVerifier {
ideVersions(properties("plugin.verifier.ide.versions"))
downloadDirectory("${project.buildDir}/pluginVerifier/ides")
} }
} }

9
idea-plugin/gradle.properties

@ -3,3 +3,12 @@
kotlin.stdlib.default.dependency = false kotlin.stdlib.default.dependency = false
deploy.version=0.1-SNAPSHOT deploy.version=0.1-SNAPSHOT
plugin.channels=alpha
plugin.since.build=203
plugin.until.build=211.*
plugin.verifier.ide.versions=2020.3.2, 2021.1
platform.type=IC
platform.version=2020.3.2
platform.download.sources=true

Loading…
Cancel
Save