@@ -11,30 +11,33 @@ val junitVersion = "4.13.2"
1111val commonsTextVersion = " 1.15.0"
1212val opentest4jVersion = " 1.3.0"
1313
14- lazy val hocon = project.in(file(" ." )).enablePlugins(SbtIdeaPlugin ).settings(
15- version := " 2026.1.2-SNAPSHOT" ,
16- Compile / scalaSource := baseDirectory.value / " src" ,
17- Test / scalaSource := baseDirectory.value / " test" ,
18- Compile / resourceDirectory := baseDirectory.value / " resources" ,
19- Global / javacOptions ++= Seq (" --release" , " 21" ),
20- Global / scalacOptions ++= Seq (
21- " -deprecation" ,
22- " -feature" ,
23- " -unchecked" ,
24- " -Xfatal-warnings" ,
25- " -Xsource:3"
26- ),
27- ideBasePackages := Seq (" org.jetbrains.plugins.hocon" ),
28- intellijPlugins := Seq (" com.intellij.java-i18n" , " com.intellij.modules.json" ).map(_.toPlugin),
29- intellijExtraRuntimePluginsInTests := Seq (" org.jetbrains.kotlin" ).map(_.toPlugin),
30- libraryDependencies ++= Seq (
31- " org.apache.commons" % " commons-text" % commonsTextVersion,
32- " com.github.sbt" % " junit-interface" % junitInterfaceVersion % Test ,
33- " junit" % " junit" % junitVersion % Test ,
34- " org.opentest4j" % " opentest4j" % opentest4jVersion % Test ,
35- ),
36- packageLibraryMappings := Seq .empty, // allow scala-library
37- patchPluginXml := pluginXmlOptions { xml =>
38- xml.version = version.value
39- }
40- )
14+ lazy val hocon = project
15+ .in(file(" ." ))
16+ .enablePlugins(SbtIdeaPlugin )
17+ .settings(
18+ version := " 2026.1.2-SNAPSHOT" ,
19+ Compile / scalaSource := baseDirectory.value / " src" ,
20+ Test / scalaSource := baseDirectory.value / " test" ,
21+ Compile / resourceDirectory := baseDirectory.value / " resources" ,
22+ Global / javacOptions ++= Seq (" --release" , " 21" ),
23+ Global / scalacOptions ++= Seq (
24+ " -deprecation" ,
25+ " -feature" ,
26+ " -unchecked" ,
27+ " -Xfatal-warnings" ,
28+ " -Xsource:3" ,
29+ ),
30+ ideBasePackages := Seq (" org.jetbrains.plugins.hocon" ),
31+ intellijPlugins := Seq (" com.intellij.java-i18n" , " com.intellij.modules.json" ).map(_.toPlugin),
32+ intellijExtraRuntimePluginsInTests := Seq (" org.jetbrains.kotlin" ).map(_.toPlugin),
33+ libraryDependencies ++= Seq (
34+ " org.apache.commons" % " commons-text" % commonsTextVersion,
35+ " com.github.sbt" % " junit-interface" % junitInterfaceVersion % Test ,
36+ " junit" % " junit" % junitVersion % Test ,
37+ " org.opentest4j" % " opentest4j" % opentest4jVersion % Test ,
38+ ),
39+ packageLibraryMappings := Seq .empty, // allow scala-library
40+ patchPluginXml := pluginXmlOptions { xml =>
41+ xml.version = version.value
42+ },
43+ )
0 commit comments