Skip to content

Commit

Permalink
Merge pull request #10667 from SethTisue/merge-2.12-to-2.13-20240118
Browse files Browse the repository at this point in the history
Merge 2.12 to 2.13 20240118 [ci: last-only]
  • Loading branch information
lrytz committed Jan 19, 2024
2 parents 951cc9b + 1bff17b commit 1d090d8
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 19 deletions.
16 changes: 10 additions & 6 deletions .travis.yml
@@ -1,3 +1,7 @@
# `-Dsbt.io.jdktimestamps=true` is used to work around
# this bug in sbt 1.9.8: https://github.com/sbt/sbt/issues/7463
# we can remove it once we're on an sbt version with a fix.

version: ~> 1.0 # needed for imports
import: scala/scala-dev:travis/default.yml

Expand Down Expand Up @@ -27,9 +31,9 @@ templates: # this has no effect on travis, it's just a place to put our template
name: build, publishLocal, build again
script:
- set -e
- sbt -Dsbt.scala.version=2.12.18-M2 setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
- sbt -Dsbt.io.jdktimestamps=true -Dsbt.scala.version=2.12.18-M2 setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dsbt.scala.version=2.12.18-M2 -Dstarr.version=$STARR setupValidateTest compile
- sbt -Dsbt.io.jdktimestamps=true -Dsbt.scala.version=2.12.18-M2 -Dstarr.version=$STARR setupValidateTest compile
workspaces:
create:
name: bootstrapped
Expand All @@ -53,7 +57,7 @@ templates: # this has no effect on travis, it's just a place to put our template
script:
- set -e
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dsbt.scala.version=2.12.18-M2 -Dstarr.version=$STARR setupValidateTest Test/compile testAll1
- sbt -Dsbt.io.jdktimestamps=true -Dsbt.scala.version=2.12.18-M2 -Dstarr.version=$STARR setupValidateTest Test/compile testAll1

test2: &test2
stage: test
Expand All @@ -63,7 +67,7 @@ templates: # this has no effect on travis, it's just a place to put our template
script:
- set -e
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dsbt.scala.version=2.12.18-M2 -Dstarr.version=$STARR setupValidateTest testAll2
- sbt -Dsbt.io.jdktimestamps=true -Dsbt.scala.version=2.12.18-M2 -Dstarr.version=$STARR setupValidateTest testAll2

jobs:
include:
Expand Down Expand Up @@ -113,7 +117,7 @@ jobs:
script:
- set -e
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dsbt.scala.version=2.12.18-M2 -Dscala.build.compileWithDotty=true library/compile
- sbt -Dsbt.io.jdktimestamps=true -Dsbt.scala.version=2.12.18-M2 -Dscala.build.compileWithDotty=true library/compile

- name: build benchmarks
if: type = pull_request OR repo != scala/scala
Expand All @@ -122,7 +126,7 @@ jobs:
script:
- set -e
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dsbt.scala.version=2.12.18-M2 bench/Jmh/compile
- sbt -Dsbt.io.jdktimestamps=true -Dsbt.scala.version=2.12.18-M2 bench/Jmh/compile

- stage: build
if: type = pull_request OR type = push
Expand Down
4 changes: 2 additions & 2 deletions NOTICE
@@ -1,6 +1,6 @@
Scala
Copyright (c) 2002-2023 EPFL
Copyright (c) 2011-2023 Lightbend, Inc.
Copyright (c) 2002-2024 EPFL
Copyright (c) 2011-2024 Lightbend, Inc.

Scala includes software developed at
LAMP/EPFL (https://lamp.epfl.ch/) and
Expand Down
3 changes: 3 additions & 0 deletions build.sbt
Expand Up @@ -969,6 +969,9 @@ lazy val sbtTest = project.in(file("test") / "sbt-test")
scriptedBufferLog := true,

scriptedLaunchOpts ++= Seq(
// work around https://github.com/sbt/sbt/issues/7463
// we can remove it once we're on an sbt version with a fix.
"-Dsbt.io.jdktimestamps=true",
"-Dplugin.scalaVersion=" + version.value,
"-Dsbt.boot.directory=" + (target.value / ".sbt-scripted").getAbsolutePath, // Workaround sbt/sbt#3469
"-Dscripted.common=" + (baseDirectory.value / "common.sbt.template").getAbsolutePath,
Expand Down
4 changes: 2 additions & 2 deletions doc/LICENSE.md
Expand Up @@ -2,9 +2,9 @@ Scala is licensed under the [Apache License Version 2.0](https://www.apache.org/

## Scala License

Copyright (c) 2002-2023 EPFL
Copyright (c) 2002-2024 EPFL

Copyright (c) 2011-2023 Lightbend, Inc.
Copyright (c) 2011-2024 Lightbend, Inc.

All rights reserved.

Expand Down
4 changes: 2 additions & 2 deletions doc/License.rtf
Expand Up @@ -23,8 +23,8 @@ Scala is licensed under the\'a0{\field{\*\fldinst{HYPERLINK "https://www.apache.
\fs48 \cf2 Scala License\
\pard\pardeftab720\sl360\sa320\partightenfactor0
\f0\b0\fs28 \cf2 Copyright (c) 2002-2023 EPFL\
Copyright (c) 2011-2023 Lightbend, Inc.\
\f0\b0\fs28 \cf2 Copyright (c) 2002-2024 EPFL\
Copyright (c) 2011-2024 Lightbend, Inc.\
All rights reserved.\
\pard\pardeftab720\sl360\sa320\partightenfactor0
\cf2 \cb4 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at {\field{\*\fldinst{HYPERLINK "http://www.apache.org/licenses/LICENSE-2.0"}}{\fldrslt http://www.apache.org/licenses/LICENSE-2.0}}.\
Expand Down
2 changes: 1 addition & 1 deletion project/VersionUtil.scala
Expand Up @@ -29,7 +29,7 @@ object VersionUtil {
)

lazy val generatePropertiesFileSettings = Seq[Setting[_]](
copyrightString := "Copyright 2002-2023, LAMP/EPFL and Lightbend, Inc.",
copyrightString := "Copyright 2002-2024, LAMP/EPFL and Lightbend, Inc.",
shellBannerString := """
| ________ ___ / / ___
| / __/ __// _ | / / / _ |
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
@@ -1 +1 @@
sbt.version=1.9.7
sbt.version=1.9.8
2 changes: 1 addition & 1 deletion project/plugins.sbt
Expand Up @@ -36,4 +36,4 @@ Global / concurrentRestrictions := Seq(

addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0")

addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.6")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.7")
4 changes: 3 additions & 1 deletion scripts/common
Expand Up @@ -13,7 +13,9 @@ fi
SBT_VERSION=`grep sbt.version $WORKSPACE/project/build.properties | sed -n 's/sbt.version=\(.*\)/\1/p'`

SBT_CMD=${SBT_CMD-sbt}
SBT_CMD="$SBT_CMD -Dsbt.scala.version=2.12.18-M2 -sbt-version $SBT_VERSION"
# the jdktimestamps thing is to work around https://github.com/sbt/sbt/issues/7463 --
# it can be removed again once we're on an sbt version with a fix
SBT_CMD="$SBT_CMD -Dsbt.io.jdktimestamps=true -Dsbt.scala.version=2.12.18-M2 -sbt-version $SBT_VERSION"

# repo to publish builds
integrationRepoUrl=${integrationRepoUrl-"https://scala-ci.typesafe.com/artifactory/scala-integration/"}
Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/util/Properties.scala
Expand Up @@ -92,7 +92,7 @@ private[scala] trait PropertiesTrait {
/** A verbose alternative to [[versionNumberString]].
*/
val versionString = s"version ${scalaPropOrElse("version.number", "(unknown)")}"
val copyrightString = scalaPropOrElse("copyright.string", "Copyright 2002-2023, LAMP/EPFL and Lightbend, Inc.")
val copyrightString = scalaPropOrElse("copyright.string", "Copyright 2002-2024, LAMP/EPFL and Lightbend, Inc.")

/** This is the encoding to use reading in source files, overridden with -encoding.
* Note that it uses "prop" i.e. looks in the scala jar, not the system properties.
Expand Down
2 changes: 1 addition & 1 deletion src/scaladoc/scala/tools/nsc/doc/html/page/Entity.scala
Expand Up @@ -341,7 +341,7 @@ trait EntityPage extends HtmlPage {
val postamble =
List(Div(id = "tooltip"),
if (Set("epfl", "EPFL").contains(tpl.universe.settings.docfooter.value))
Div(id = "footer", elems = Txt("Scala programming documentation. Copyright (c) 2002-2023 ") :: A(href = "https://www.epfl.ch", target = "_top", elems = Txt("EPFL")) :: Txt(" and ") :: A(href = "https://www.lightbend.com", target = "_top", elems = Txt("Lightbend")) :: Txt("."))
Div(id = "footer", elems = Txt("Scala programming documentation. Copyright (c) 2002-2024 ") :: A(href = "https://www.epfl.ch", target = "_top", elems = Txt("EPFL")) :: Txt(" and ") :: A(href = "https://www.lightbend.com", target = "_top", elems = Txt("Lightbend")) :: Txt("."))
else
Div(id = "footer", elems = Txt(tpl.universe.settings.docfooter.value)))

Expand Down
2 changes: 1 addition & 1 deletion src/scalap/decoder.properties
@@ -1,2 +1,2 @@
version.number=2.0.1
copyright.string=(c) 2002-2023 LAMP/EPFL
copyright.string=(c) 2002-2024 LAMP/EPFL

0 comments on commit 1d090d8

Please sign in to comment.