Skip to content

Commit

Permalink
[#138] Add opens to java.desktop/javax.swing.text
Browse files Browse the repository at this point in the history
+ Updated sbt-intellij-plugin to 3.20.1
  • Loading branch information
vbmacher committed Sep 8, 2024
1 parent dfc598a commit e452d07
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .jvmopts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-Dfile.encoding=UTF8
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ lazy val commonSettings = Seq(
"--add-opens", "java.desktop/java.awt=ALL-UNNAMED",
"--add-opens", "java.desktop/java.awt.event=ALL-UNNAMED",
"--add-opens", "java.desktop/javax.swing=ALL-UNNAMED",
"--add-opens", "java.desktop/javax.swing.text=ALL-UNNAMED",
"--add-opens", "java.desktop/sun.font=ALL-UNNAMED",
"--add-exports", "java.base/jdk.internal.vm=ALL-UNNAMED",
),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.github.vbmacher.intellij.cucumber.scala

import java.io.File
import com.intellij.codeInsight.daemon.LineMarkerInfo
import com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.getLineMarkers
import com.intellij.psi._
Expand All @@ -10,6 +9,7 @@ import org.apache.log4j.Logger
import org.scalatest.matchers.should.Matchers
import org.scalatestplus.junit.JUnitSuiteLike

import java.io.File
import scala.jdk.CollectionConverters._

abstract class ScCucumberSpecBase extends BasePlatformTestCase with Matchers with JUnitSuiteLike {
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("org.jetbrains" % "sbt-idea-plugin" % "3.18.3")
addSbtPlugin("org.jetbrains" % "sbt-idea-plugin" % "3.20.1")

0 comments on commit e452d07

Please sign in to comment.