Skip to content

Commit ca1b3e1

Browse files
committed
Update IntelliJ Gradle plugin to 2.4.0
1 parent fb3bc60 commit ca1b3e1

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,14 @@ dependencies {
105105
bundledPlugin("ByteCodeViewer")
106106
bundledPlugin("org.intellij.intelliLang")
107107
bundledPlugin("com.intellij.properties")
108+
bundledPlugin("Git4Idea")
108109

109110
// Optional dependencies
110111
bundledPlugin("org.jetbrains.kotlin")
111112
bundledPlugin("org.toml.lang")
112113
bundledPlugin("org.jetbrains.plugins.yaml")
113114

115+
114116
testFramework(TestFrameworkType.JUnit5)
115117
testFramework(TestFrameworkType.Plugin.Java)
116118

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ asm = "9.6"
77
fuel = "2.3.1"
88
licenser = "0.6.1"
99
changelog = "2.2.0"
10-
intellij-plugin = "2.1.0"
10+
intellij-plugin = "2.4.0"
1111
intellij-ide = "2024.1"
1212
idea-ext = "1.1.8"
1313
psiPlugin = "241.14494.158-EAP-SNAPSHOT"

obfuscation-explorer/changelog.md

Whitespace-only changes.

src/main/kotlin/platform/mixin/util/AsmUtil.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ fun findClassNodeByPsiClass(psiClass: PsiClass, module: Module? = psiClass.findM
236236
}
237237
val classFile = parentDir.findChild("${fqn.substringAfterLast('.')}.class")
238238
?: return@lockedCached null
239-
val node = ClassNode()
239+
val node = ClassNode(Opcodes.ASM7)
240240
classFile.inputStream.use { ClassReader(it).accept(node, 0) }
241241
node
242242
} else {
243-
val node = ClassNode()
243+
val node = ClassNode(Opcodes.ASM7)
244244
ClassReader(bytes).accept(node, 0)
245245
node
246246
}

0 commit comments

Comments
 (0)