Skip to content

Commit 6c5f388

Browse files
authored
Merge pull request #10665 from scala-steward/update/2.12.x/sbt-1.9.8
Update sbt to 1.9.8 in 2.12.x
2 parents e8ace4b + 2486172 commit 6c5f388

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# `-Dsbt.io.jdktimestamps=true` is used to work around
2+
# this bug in sbt 1.9.8: https://github.com/sbt/sbt/issues/7463
3+
# we can remove it once we're on an sbt version with a fix.
4+
15
version: ~> 1.0 # needed for imports
26

37
import: scala/scala-dev:travis/default.yml
@@ -40,9 +44,9 @@ jobs:
4044
name: "JDK 8 pr validation"
4145
if: type = pull_request
4246
script:
43-
- sbt -Dsbt.scala.version=2.12.18 -warn setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
47+
- sbt -Dsbt.io.jdktimestamps=true -Dsbt.scala.version=2.12.18 -warn setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
4448
- STARR=`cat buildcharacter.properties | grep ^maven.version.number | cut -d= -f2` && echo $STARR
45-
- sbt -Dsbt.scala.version=2.12.18 -Dstarr.version=$STARR -warn setupValidateTest test:compile info testAll
49+
- sbt -Dsbt.io.jdktimestamps=true -Dsbt.scala.version=2.12.18 -Dstarr.version=$STARR -warn setupValidateTest test:compile info testAll
4650

4751
# build the spec using jekyll
4852
- stage: build

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.9.7
1+
sbt.version=1.9.8

scripts/common

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ mkdir -p "$WORKSPACE/resolutionScratch_"
1717
SBT_VERSION=`grep sbt.version $WORKSPACE/project/build.properties | sed -n 's/sbt.version=\(.*\)/\1/p'`
1818

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

2224
# repo to publish builds
2325
integrationRepoUrl=${integrationRepoUrl-"https://scala-ci.typesafe.com/artifactory/scala-integration/"}

0 commit comments

Comments
 (0)