ruki преди 3 години
родител
ревизия
5814dfcb8b
променени са 3 файла, в които са добавени 10 реда и са изтрити 1 реда
  1. 1 1
      gradle.properties
  2. 5 0
      src/main/kotlin/io/xmake/run/XMakeRunConfigurationType.kt
  3. 4 0
      src/main/resources/META-INF/plugin.xml

+ 1 - 1
gradle.properties

@@ -1,6 +1,6 @@
 pluginGroup=io.xmake
 pluginGroup=io.xmake
 pluginName=IntelliJ Xmake Plugin
 pluginName=IntelliJ Xmake Plugin
-pluginVersion=1.1.3
+pluginVersion=1.1.4
 pluginSinceBuild=201
 pluginSinceBuild=201
 pluginUntilBuild=213.*
 pluginUntilBuild=213.*
 
 

+ 5 - 0
src/main/kotlin/io/xmake/run/XMakeRunConfigurationType.kt

@@ -33,6 +33,11 @@ class XMakeRunConfigurationType : ConfigurationTypeBase(
 //                }
 //                }
             }
             }
 
 
+            // This value gets written to the config file. By default it defers to getName, however,
+            // the value needs to be kept the same even if the display name changes in the future
+            // in order to maintain compatibility with older configs.
+            override fun getId() = "Start and Debug"
+
             override fun isConfigurationSingletonByDefault(): Boolean = true
             override fun isConfigurationSingletonByDefault(): Boolean = true
         })
         })
     }
     }

+ 4 - 0
src/main/resources/META-INF/plugin.xml

@@ -42,6 +42,10 @@
     ]]></description>
     ]]></description>
 
 
     <change-notes><![CDATA[
     <change-notes><![CDATA[
+    <strong>1.1.4</strong>
+    <ul>
+        <li>[FIX]: Fix deprecated api warning again </li>
+    </ul>
     <strong>1.1.3</strong>
     <strong>1.1.3</strong>
     <ul>
     <ul>
         <li>[FIX]: Fix deprecated api warning </li>
         <li>[FIX]: Fix deprecated api warning </li>