Skip to content

Commit

Permalink
Update scala-library to 2.12.18 (#408)
Browse files Browse the repository at this point in the history
* Update scala-library to 2.12.18

* Fix scripted tests

* Remove outside version dependent check

---------

Co-authored-by: Taro L. Saito <[email protected]>
  • Loading branch information
xerial-bot and xerial authored Sep 24, 2023
1 parent 7d355dd commit a0301b8
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 21 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pomIncludeRepository := { _ =>
false
}

ThisBuild / scalaVersion := "2.12.17"
ThisBuild / scalaVersion := "2.12.18"

parallelExecution := true
crossPaths := false
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/archive-modules/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import xerial.sbt.pack.PackPlugin._

val commonSettings = Defaults.coreDefaultSettings ++
Seq(
scalaVersion := "2.12.17",
scalaVersion := "2.12.18",
version := "0.1",
crossPaths := false
)
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/build-sbt/build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
enablePlugins(PackPlugin)

scalaVersion := "2.12.17"
scalaVersion := "2.12.18"

packExtraClasspath := Map("hello" -> Seq("${PROG_HOME}/extra"))
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/convention-full/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
enablePlugins(PackPlugin)

scalaVersion := "2.12.17"
scalaVersion := "2.12.18"

libraryDependencies := Seq("org.xerial" % "xerial-core" % "3.3.6")

Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/convention-noversion/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
enablePlugins(PackPlugin)

scalaVersion := "2.12.17"
scalaVersion := "2.12.18"

libraryDependencies := Seq("org.xerial" % "xerial-core" % "3.3.6")

Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/sbt-pack/copy-dependencies/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ThisBuild / scalaVersion := "2.12.17"
ThisBuild / scalaVersion := "2.12.18"

val commonSettings = Seq(
scalaVersion := "2.12.17",
scalaVersion := "2.12.18",
version := "0.1",
crossPaths := false,
packCopyDependenciesTarget := target.value / "WEB-INF/lib"
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/duplicate-jars/build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ThisBuild / scalaVersion := "2.12.17"
ThisBuild / scalaVersion := "2.12.18"
val commonSettings = Defaults.coreDefaultSettings ++ Seq(
version := "0.1",
crossPaths := false
Expand Down
1 change: 0 additions & 1 deletion src/sbt-test/sbt-pack/duplicate-jars/test
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
> 'set version := "0.1"'
> pack
$ exists target/pack/lib/scala-library-2.12.17.jar
$ absent target/pack/lib/slf4j-api-1.7.2.jar
$ exists target/pack/lib/slf4j-api-1.7.6.jar
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/env-vars/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
enablePlugins(PackPlugin)
name := "env-vars"

scalaVersion := "2.12.17"
scalaVersion := "2.12.18"
// custom settings here
crossPaths := false

Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/exclude-jars/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
enablePlugins(PackPlugin)
version := "0.1"
scalaVersion := "2.12.17"
scalaVersion := "2.12.18"
crossPaths := false
name := "exclude-jars"
libraryDependencies ++= Seq(
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/exclude-makefile/build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
enablePlugins(PackPlugin)
scalaVersion := "2.12.17"
scalaVersion := "2.12.18"
crossPaths := false
name := "exclude-makefile"
version := "0.1"
Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/sbt-pack/exclude-test-config/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ThisBuild / scalaVersion := "2.12.17"
ThisBuild / scalaVersion := "2.12.18"

val commonSettings = Seq(
scalaVersion := "2.12.17",
scalaVersion := "2.12.18",
version := "0.1",
crossPaths := false
)
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/min-project/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
enablePlugins(PackPlugin)
name := "min-project"

scalaVersion := "2.12.17"
scalaVersion := "2.12.18"
// custom settings here
crossPaths := false
2 changes: 0 additions & 2 deletions src/sbt-test/sbt-pack/min-project/test
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
> pack
$ exists target/pack/Makefile
$ exists target/pack/bin/hello
$ exists target/pack/lib/scala-library-2.12.17.jar
$ exec sh ./target/pack/bin/hello
> packArchive
$ exists target/min-project-0.1.tar.gz
> packInstall ../../local
$ exists local/bin/hello
$ exists local/min-project/min-project-0.1/lib/min-project-0.1.jar
$ exists local/min-project/min-project-0.1/lib/scala-library-2.12.17.jar
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/multi-module/build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
val commonSettings = Defaults.coreDefaultSettings ++ Seq(
scalaVersion := "2.12.17",
scalaVersion := "2.12.18",
version := "0.1",
crossPaths := false
)
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/nested-project/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name := "nested"

ThisBuild / version := "0.1"

ThisBuild / scalaVersion := "2.12.17"
ThisBuild / scalaVersion := "2.12.18"

enablePlugins(PackPlugin)

Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/pack-resources/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ lazy val root = Project(
base = file(".")
).enablePlugins(PackPlugin)
.settings(
scalaVersion := "2.12.17",
scalaVersion := "2.12.18",
// Copy files from ${root}/web/... to ${root}/target/pack/web-content...
packResourceDir += (baseDirectory.value / "web" -> "web-content"),
// custom settings here
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-pack/space in path/build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
enablePlugins(PackPlugin)

scalaVersion := "2.12.17"
scalaVersion := "2.12.18"

0 comments on commit a0301b8

Please sign in to comment.