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 {
pluginName = "Compose for Desktop IDE Support"
type = "IC"
downloadSources = true
updateSinceUntilBuild = true
version = "203.7717.56"
type = properties("platform.type")
version = properties("platform.version")
downloadSources = properties("platform.download.sources").toBoolean()
setPlugins(
"java",
"com.intellij.gradle",
"org.jetbrains.kotlin:203-1.4.32-release-IJ7148.5"
"org.jetbrains.kotlin"
)
}
@ -47,6 +46,16 @@ tasks {
publishPlugin {
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
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