Skip to content

Commit e452d07

Browse files
committed
[#138] Add opens to java.desktop/javax.swing.text
+ Updated sbt-intellij-plugin to 3.20.1
1 parent dfc598a commit e452d07

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

.jvmopts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-Dfile.encoding=UTF8

build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ lazy val commonSettings = Seq(
99
"--add-opens", "java.desktop/java.awt=ALL-UNNAMED",
1010
"--add-opens", "java.desktop/java.awt.event=ALL-UNNAMED",
1111
"--add-opens", "java.desktop/javax.swing=ALL-UNNAMED",
12+
"--add-opens", "java.desktop/javax.swing.text=ALL-UNNAMED",
1213
"--add-opens", "java.desktop/sun.font=ALL-UNNAMED",
1314
"--add-exports", "java.base/jdk.internal.vm=ALL-UNNAMED",
1415
),

cucumber-scala/src/test/scala/com/github/vbmacher/intellij/cucumber/scala/ScCucumberSpecBase.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.github.vbmacher.intellij.cucumber.scala
22

3-
import java.io.File
43
import com.intellij.codeInsight.daemon.LineMarkerInfo
54
import com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.getLineMarkers
65
import com.intellij.psi._
@@ -10,6 +9,7 @@ import org.apache.log4j.Logger
109
import org.scalatest.matchers.should.Matchers
1110
import org.scalatestplus.junit.JUnitSuiteLike
1211

12+
import java.io.File
1313
import scala.jdk.CollectionConverters._
1414

1515
abstract class ScCucumberSpecBase extends BasePlatformTestCase with Matchers with JUnitSuiteLike {

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
addSbtPlugin("org.jetbrains" % "sbt-idea-plugin" % "3.18.3")
1+
addSbtPlugin("org.jetbrains" % "sbt-idea-plugin" % "3.20.1")

0 commit comments

Comments
 (0)