diff --git a/CHANGELOG.md b/CHANGELOG.md index 701686d..0fc8d10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ # IsortConnect Changelog ## [Unreleased] +### Added +- Migrate to PyCharm 2022.2 ### Changed - wrap optimize imports handler in try/catch for now ;( ## [0.0.12] diff --git a/build.gradle.kts b/build.gradle.kts index 616318c..8689d09 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ plugins { // Kotlin support id("org.jetbrains.kotlin.jvm") version "1.4.10" // gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin - id("org.jetbrains.intellij") version "0.5.0" + id("org.jetbrains.intellij") version "1.5.3" // gradle-changelog-plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin id("org.jetbrains.changelog") version "0.6.2" // ktlint linter - read more: https://github.com/JLLeitschuh/ktlint-gradle @@ -52,13 +52,18 @@ dependencies { // Configure gradle-intellij-plugin plugin. // Read more: https://github.com/JetBrains/gradle-intellij-plugin intellij { - pluginName = pluginName_ - version = platformVersion - type = platformType - downloadSources = false - updateSinceUntilBuild = true - // Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file. - setPlugins(*platformPlugins.split(',').map(String::trim).filter(String::isNotEmpty).toTypedArray()) +// pluginName = pluginName_ +// version = platformVersion +// type = platformType +// downloadSources = false +// updateSinceUntilBuild = true +// // Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file. +// setPlugins(*platformPlugins.split(',').map(String::trim).filter(String::isNotEmpty).toTypedArray()) + val ideaVersion: String by project + version.set(ideaVersion) + updateSinceUntilBuild.set(true) + pluginName.set(pluginName_) + setPlugins(listOf("Pythonid")) } tasks { diff --git a/gradle.properties b/gradle.properties index 54af7d7..b7353c2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,15 +3,15 @@ pluginGroup = com.github.urm8.isortconnect pluginName_=IsortConnect -pluginVersion=0.0.13 +pluginVersion=0.0.15 pluginSinceBuild=202.7660.27 -pluginUntilBuild=211.* +pluginUntilBuild=221.* platformType=PY -platformVersion=2021.1 +platformVersion=2022.1 platformDownloadSources=false # Plugin Dependencies -> https://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_dependencies.html # Example: platformPlugins = com.intellij.java,com.jetbrains.php:203.4449.22 -platformPlugins=Pythonid:211.6693.115,org.toml.lang:0.2.136.3514-203 +#platformPlugins=Pythonid:221.5591.52,org.toml.lang:0.2.155.4114-212 downloadIdeaSources=false # Opt-out flag for bundling Kotlin standard library. # See https://kotlinlang.org/docs/reference/using-gradle.html#dependency-on-the-standard-library for details.