Skip to content

Commit bfca749

Browse files
committed
compatibility 222
1 parent 538e09b commit bfca749

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ pluginRepositoryUrl = https://github.com/oldme-git/goframe-idea
66
# SemVer format -> https://semver.org
77
pluginVersion=1.0.0-alpha
88

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

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

1717
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
1818
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22

src/main/kotlin/com/github/oldmegit/goframeidea/startup/StartUp.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import com.intellij.openapi.progress.BackgroundTaskQueue
66
import com.intellij.openapi.progress.ProgressIndicator
77
import com.intellij.openapi.progress.Task
88
import com.intellij.openapi.project.Project
9-
import com.intellij.openapi.startup.ProjectActivity
9+
import com.intellij.openapi.startup.StartupActivity
1010

11-
class StartUp : ProjectActivity {
12-
override suspend fun execute(project: Project) {
11+
class StartUp : StartupActivity {
12+
override fun runActivity(project: Project) {
1313
val task = BackgroundTaskQueue(project, Bundle.getMessage("name"))
1414
task.run(object : Task.Backgroundable(project, Bundle.getMessage("init")) {
1515
override fun run(indicator: ProgressIndicator) {

src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->
2-
<idea-plugin>
2+
<idea-plugin url="https://github.com/oldme-git/GoFrame-Idea">
33
<id>com.github.oldmegit.goframeidea</id>
44
<name>GoFrame Idea</name>
55
<vendor email="[email protected]">oldme-git</vendor>

0 commit comments

Comments
 (0)