Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
java: [11, 17, 21]
scala: [2.13.18, 3.3.7]
scala: [3.3.7, 3.8.3]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ Add Lift to your `pom.xml` like so:
<version>3.3.0</version>
</dependency>

Where `${scala.version}` is `2.13` for the 4.x series. Individual patch releases of the Scala compiler
(e.g. 2.12.2) are binary compatible with everything in their release series, so you only need the
first two version parts.
Where `${scala.version}` is `3` for the 5.x series.

You can learn more about Maven integration [on the wiki](http://www.assembla.com/wiki/show/liftweb/Using_Maven).

Expand Down
42 changes: 9 additions & 33 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ ThisBuild / licenses += ("Apache License, Version 2.0", url("https:/
ThisBuild / startYear := Some(2006)
ThisBuild / organizationName := "Lift Committers and Contributors"

val scala213Version = "2.13.18"
val scala3LTSVersion = "3.3.7"
val scala3LatestVersion = "3.8.3"

ThisBuild / scalaVersion := scala213Version
ThisBuild / crossScalaVersions := Seq(scala213Version, scala3LTSVersion)
ThisBuild / scalaVersion := scala3LTSVersion
ThisBuild / crossScalaVersions := Seq(scala3LTSVersion, scala3LatestVersion)

ThisBuild / libraryDependencies ++= Seq(
specs2(scalaVersion.value),
Expand All @@ -21,7 +21,7 @@ ThisBuild / libraryDependencies ++= Seq(
scalactic,
scalatest
)
ThisBuild / libraryDependencies ++= specs2XmlDeps(scalaVersion.value)
ThisBuild / libraryDependencies += specs2Xml

ThisBuild / scalacOptions ++= Seq("-deprecation")

Expand Down Expand Up @@ -64,21 +64,15 @@ lazy val common =
coreProject("common")
.settings(
description := "Common Libraries and Utilities",
libraryDependencies ++= Seq(slf4j_api, logback, slf4j_log4j12, scala_xml, scala_parser, scalamock, mockito_scalatest(scalaVersion.value)),
Test / unmanagedSourceDirectories += {
(Test / sourceDirectory).value / ("scala-" + scalaBinaryVersion.value)
}
libraryDependencies ++= Seq(slf4j_api, logback, slf4j_log4j12, scala_xml, scala_parser, scalamock, mockito_scalatest(scalaVersion.value))
)

lazy val actor =
coreProject("actor")
.dependsOn(common)
.settings(
description := "Simple Actor",
Test / parallelExecution := false,
Test / unmanagedSourceDirectories += {
(Test / sourceDirectory).value / ("scala-" + scalaBinaryVersion.value)
}
Test / parallelExecution := false
)

lazy val markdown =
Expand Down Expand Up @@ -109,10 +103,7 @@ lazy val util =
htmlparser,
xerces,
json4s_native,
),
Test / unmanagedSourceDirectories += {
(Test / sourceDirectory).value / ("scala-" + scalaBinaryVersion.value)
}
)
)

// Web Projects
Expand All @@ -125,10 +116,7 @@ lazy val testkit =
.dependsOn(util)
.settings(
description := "Testkit for Webkit Library",
libraryDependencies ++= Seq(commons_httpclient, servlet_api, json4s_native, json4s_xml),
Test / unmanagedSourceDirectories += {
(Test / sourceDirectory).value / ("scala-" + scalaBinaryVersion.value)
}
libraryDependencies ++= Seq(commons_httpclient, servlet_api, json4s_native, json4s_xml)
)

lazy val webkit =
Expand All @@ -150,26 +138,14 @@ lazy val webkit =
jquery,
jasmineCore,
jasmineAjax,
specs2Mock(scalaVersion.value)
specs2Mock
),
libraryDependencies ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, scalaMajor)) if scalaMajor >= 13 => Seq(scala_parallel_collections)
case _ => Seq.empty
}
},
Test / initialize := {
System.setProperty(
"net.liftweb.webapptest.src.test.webapp",
((Test / sourceDirectory).value / "webapp").absString
)
},
Compile / unmanagedSourceDirectories += {
(Compile / sourceDirectory).value / ("scala_" + scalaBinaryVersion.value)
},
Test / unmanagedSourceDirectories += {
(Test / sourceDirectory).value / ("scala_" + scalaBinaryVersion.value)
},
Compile / compile := (Compile / compile).dependsOn(WebKeys.assets).value,
/**
* This is to ensure that the tests in net.liftweb.webapptest run last
Expand Down
81 changes: 0 additions & 81 deletions core/actor/src/test/scala-2.13/net/liftweb/actor/ActorSpec.scala

This file was deleted.

145 changes: 0 additions & 145 deletions core/actor/src/test/scala-2.13/net/liftweb/actor/LAFutureSpec.scala

This file was deleted.

Loading
Loading