Skip to content

Commit f23e3b0

Browse files
committed
fix: update dependencies to make it compatible with 2025.2
1 parent bce4cec commit f23e3b0

14 files changed

Lines changed: 40 additions & 38 deletions

build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ repositories {
3333

3434
dependencies {
3535
implementation("com.jayway.jsonpath:json-path:2.9.0")
36-
implementation("net.minidev:json-smart:2.5.1")
36+
implementation("net.minidev:json-smart:2.5.2")
3737
implementation("org.codehaus.jettison:jettison:1.5.4")
3838

3939
testImplementation(libs.junit)
@@ -56,6 +56,8 @@ dependencies {
5656

5757
// Configure IntelliJ Platform Gradle Plugin - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-extension.html
5858
intellijPlatform {
59+
buildSearchableOptions = false
60+
5961
pluginConfiguration {
6062
version = providers.gradleProperty("pluginVersion")
6163

gradle.properties

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@
33

44
pluginGroup = com.github.shyim.shopware6
55
pluginName=shopware6-phpstorm-plugin
6-
pluginVersion=0.0.47
6+
pluginVersion=0.0.48
77

88
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
99
# for insight into build numbers and IntelliJ Platform versions.
10-
pluginSinceBuild=243
11-
pluginUntilBuild=251.*
10+
pluginSinceBuild=252
11+
pluginUntilBuild=252.*
1212

1313
# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
1414
# See https://jb.gg/intellij-platform-builds-list for available build versions.
15-
pluginVerifierIdeVersions=IU-2024.3
15+
pluginVerifierIdeVersions=IU-2025.2
1616
platformType=IU
17-
platformVersion=2024.3
17+
platformVersion=2025.2
1818
platformDownloadSources=true
1919

2020
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
2121
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
22-
platformPlugins=com.jetbrains.php:243.21565.202,com.jetbrains.twig:243.21565.202,fr.adrienbrault.idea.symfony2plugin:2024.1.276,de.espend.idea.php.annotation:11.1.1
22+
platformPlugins=com.jetbrains.php:252.23892.458,com.jetbrains.twig:252.23892.449,fr.adrienbrault.idea.symfony2plugin:2025.1.280,de.espend.idea.php.annotation:12.0.0
2323

2424
# Example: platformBundledPlugins = com.intellij.java
2525
platformBundledPlugins = JavaScript,Git4Idea,org.jetbrains.plugins.yaml,org.jetbrains.plugins.sass

gradle/libs.versions.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
junit = "4.13.2"
44

55
# plugins
6-
changelog = "2.2.1"
7-
intelliJPlatform = "2.5.0"
8-
kotlin = "2.1.20"
9-
kover = "0.8.3"
6+
changelog = "2.4.0"
7+
intelliJPlatform = "2.7.2"
8+
kotlin = "2.2.10"
9+
kover = "0.9.1"
1010

1111
[libraries]
1212
junit = { group = "junit", name = "junit", version.ref = "junit" }

src/main/kotlin/de/shyim/shopware6/action/context/admin/ExtendAdminComponentAction.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ class ExtendAdminComponentAction : DumbAwareAction(
206206

207207
val file = ActionUtil.createFile(
208208
project,
209-
JavaScriptFileType.INSTANCE,
209+
JavaScriptFileType,
210210
"index.js",
211211
content,
212212
componentFolder
@@ -249,7 +249,7 @@ class ExtendAdminComponentAction : DumbAwareAction(
249249
}
250250

251251
if (adminRoot.findFile("main.js") == null) {
252-
ActionUtil.createFile(project, JavaScriptFileType.INSTANCE, "main.js", "", adminRoot)
252+
ActionUtil.createFile(project, JavaScriptFileType, "main.js", "", adminRoot)
253253
}
254254
}
255255
}

src/main/kotlin/de/shyim/shopware6/action/context/admin/ExtendAdminComponentMethodAction.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class ExtendAdminComponentMethodAction :
191191
val newMethod = PsiFileFactory.getInstance(element.project)
192192
.createFileFromText(
193193
"test.js",
194-
JavascriptLanguage.INSTANCE,
194+
JavascriptLanguage,
195195
"{\n ${methodName}(${methodHead}) {\n return this.\$super('${methodName}'${methodPass}) \n },}\n}"
196196
)
197197
.firstChild
@@ -210,7 +210,7 @@ class ExtendAdminComponentMethodAction :
210210
val newProperty = PsiFileFactory.getInstance(element.project)
211211
.createFileFromText(
212212
"test.js",
213-
JavascriptLanguage.INSTANCE,
213+
JavascriptLanguage,
214214
"{${propertyName}: {}}"
215215
)
216216
.firstChild.children[1]

src/main/kotlin/de/shyim/shopware6/action/generator/cms/NewCmsBlockAction.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class NewCmsBlockAction :
3737

3838
val rootFile = ActionUtil.createFile(
3939
e.project!!,
40-
JavaScriptFileType.INSTANCE,
40+
JavaScriptFileType,
4141
"index.js",
4242
ShopwareTemplates.renderTemplate(
4343
e.project!!,
@@ -51,7 +51,7 @@ class NewCmsBlockAction :
5151

5252
ActionUtil.createFile(
5353
e.project!!,
54-
JavaScriptFileType.INSTANCE,
54+
JavaScriptFileType,
5555
"index.js",
5656
ShopwareTemplates.renderTemplate(
5757
e.project!!,
@@ -77,7 +77,7 @@ class NewCmsBlockAction :
7777

7878
ActionUtil.createFile(
7979
e.project!!,
80-
JavaScriptFileType.INSTANCE,
80+
JavaScriptFileType,
8181
"index.js",
8282
ShopwareTemplates.renderTemplate(
8383
e.project!!,

src/main/kotlin/de/shyim/shopware6/action/generator/cms/NewCmsElementAction.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class NewCmsElementAction :
4141

4242
val rootFile = ActionUtil.createFile(
4343
e.project!!,
44-
JavaScriptFileType.INSTANCE,
44+
JavaScriptFileType,
4545
"index.js",
4646
ShopwareTemplates.renderTemplate(
4747
e.project!!,
@@ -55,7 +55,7 @@ class NewCmsElementAction :
5555

5656
ActionUtil.createFile(
5757
e.project!!,
58-
JavaScriptFileType.INSTANCE,
58+
JavaScriptFileType,
5959
"index.js",
6060
ShopwareTemplates.renderTemplate(
6161
e.project!!,
@@ -93,7 +93,7 @@ class NewCmsElementAction :
9393

9494
ActionUtil.createFile(
9595
e.project!!,
96-
JavaScriptFileType.INSTANCE,
96+
JavaScriptFileType,
9797
"index.js",
9898
ShopwareTemplates.renderTemplate(
9999
e.project!!,
@@ -131,7 +131,7 @@ class NewCmsElementAction :
131131

132132
ActionUtil.createFile(
133133
e.project!!,
134-
JavaScriptFileType.INSTANCE,
134+
JavaScriptFileType,
135135
"index.js",
136136
ShopwareTemplates.renderTemplate(
137137
e.project!!,

src/main/kotlin/de/shyim/shopware6/action/generator/vue/NewComponentAction.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class NewComponentAction :
6060
)
6161

6262
val factory = PsiFileFactory.getInstance(project)
63-
val file = factory.createFileFromText("index.js", JavaScriptFileType.INSTANCE, content)
63+
val file = factory.createFileFromText("index.js", JavaScriptFileType, content)
6464

6565
ApplicationManager.getApplication().runWriteAction {
6666
componentFolder!!.add(file)

src/main/kotlin/de/shyim/shopware6/action/generator/vue/NewModuleAction.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class NewModuleAction :
4747

4848
ActionUtil.createFile(
4949
project,
50-
JavaScriptFileType.INSTANCE,
50+
JavaScriptFileType,
5151
"index.js",
5252
content,
5353
moduleFolder
@@ -89,7 +89,7 @@ class NewModuleAction :
8989
)
9090

9191
val factory = PsiFileFactory.getInstance(project)
92-
val file = factory.createFileFromText("$language.json", JavaScriptFileType.INSTANCE, content)
92+
val file = factory.createFileFromText("$language.json", JavaScriptFileType, content)
9393

9494
ApplicationManager.getApplication().runWriteAction {
9595
CodeStyleManager.getInstance(project).reformat(file)

src/main/kotlin/de/shyim/shopware6/index/AdminComponentIndex.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class AdminComponentIndex : FileBasedIndexExtension<String, AdminComponent>() {
142142
}
143143

144144
override fun getInputFilter(): FileBasedIndex.InputFilter {
145-
return object : DefaultFileTypeSpecificInputFilter(JavaScriptFileType.INSTANCE) {
145+
return object : DefaultFileTypeSpecificInputFilter(JavaScriptFileType) {
146146
}
147147
}
148148
}

0 commit comments

Comments
 (0)