Skip to content

Commit

Permalink
Adjust IDE plugin compatibility range
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyTsvetkov committed May 4, 2021
1 parent b9d7d28 commit de66648
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
21 changes: 15 additions & 6 deletions idea-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
}

Expand All @@ -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 changes: 9 additions & 0 deletions idea-plugin/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit de66648

Please sign in to comment.