Skip to content

downgrade to scala 3.3 LTS #324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name := "flatgraph"
ThisBuild / organization := "io.joern"
ThisBuild / scalaVersion := scala3

val scala3 = "3.6.4"
val scala3 = "3.3.6"
// ^ n.b. should always be the current scala LTS release, see
// https://www.scala-lang.org/blog/2022/08/17/long-term-compatibility-plans.html#library-maintainers
val scala2_12 = "2.12.20"
val osLibVersion = "0.11.4"
val commonsTextVersion = "1.13.0"
Expand Down Expand Up @@ -72,7 +74,7 @@ lazy val tests = project
publish / skip := true,
libraryDependencies ++= Seq(
"com.github.pathikrit" %% "better-files" % "3.9.2" % Test,
"org.scalamock" %% "scalamock" % "7.2.0" % Test
"org.scalamock" %% "scalamock" % "7.3.2" % Test
),
)

Expand Down Expand Up @@ -128,7 +130,7 @@ lazy val odbConvert = project
.settings(
name := "flatgraph-odb-convert",
libraryDependencies ++= Seq(
"io.shiftleft" %% "overflowdb-core" % "1.193",
"io.shiftleft" %% "overflowdb-core" % "1.194",
"org.slf4j" % "slf4j-simple" % slf4jVersion % Optional
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,7 @@ class DomainClassesGenerator(schema: Schema) {
traversalsOutputDir / "package.scala",
s"""package $basePackage
|
|import scala.language.implicitConversions
|import $basePackage.nodes
|
|package object traversals {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package testdomains.codepropertygraphminified

import scala.language.implicitConversions
import testdomains.codepropertygraphminified.nodes

package object traversals {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package testdomains.empty

import scala.language.implicitConversions
import testdomains.empty.nodes

package object traversals {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package testdomains.generic

import scala.language.implicitConversions
import testdomains.generic.nodes

package object traversals {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package testdomains.gratefuldead

import scala.language.implicitConversions
import testdomains.gratefuldead.nodes

package object traversals {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package testdomains.hierarchical

import scala.language.implicitConversions
import testdomains.hierarchical.nodes

package object traversals {
Expand Down