Skip to content

Commit

Permalink
compatibility 222
Browse files Browse the repository at this point in the history
  • Loading branch information
oldme-git committed Dec 12, 2023
1 parent 538e09b commit bfca749
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ pluginRepositoryUrl = https://github.com/oldme-git/goframe-idea
# SemVer format -> https://semver.org
pluginVersion=1.0.0-alpha

# Supported build number ranges and IntelliJ Platform versions -> h ttps://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild = 223
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild = 222
pluginUntilBuild = 233.*

# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
platformType = GO
platformVersion = 2023.2.4
platformVersion = 2022.2

# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import com.intellij.openapi.progress.BackgroundTaskQueue
import com.intellij.openapi.progress.ProgressIndicator
import com.intellij.openapi.progress.Task
import com.intellij.openapi.project.Project
import com.intellij.openapi.startup.ProjectActivity
import com.intellij.openapi.startup.StartupActivity

class StartUp : ProjectActivity {
override suspend fun execute(project: Project) {
class StartUp : StartupActivity {
override fun runActivity(project: Project) {
val task = BackgroundTaskQueue(project, Bundle.getMessage("name"))
task.run(object : Task.Backgroundable(project, Bundle.getMessage("init")) {
override fun run(indicator: ProgressIndicator) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->
<idea-plugin>
<idea-plugin url="https://github.com/oldme-git/GoFrame-Idea">
<id>com.github.oldmegit.goframeidea</id>
<name>GoFrame Idea</name>
<vendor email="[email protected]">oldme-git</vendor>
Expand Down

0 comments on commit bfca749

Please sign in to comment.