From 1dc9a76a14a524eb5667f27086ebbed45d639571 Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Sun, 16 Aug 2020 15:35:15 -0400 Subject: [PATCH] Banner for 1.4.0 beta ``` [info] welcome to sbt 1.4.0-SNAPSHOT (AdoptOpenJDK Java 1.8.0_232) [info] loading settings for project global-plugins from ... [info] loading global plugins from ... [info] loading project definition from /private/tmp/hello/project [info] loading settings for project root from build.sbt ... [info] set current project to hello (in build file:/private/tmp/hello/) [info] [info] Here are some highlights of this release: [info] - Build server protocol (BSP) support [info] - sbtn: a native thin client for sbt [info] - VirtualFile + RemoteCache: caches build artifacts across different machines [info] - Incremental build pipelining. Try it using `ThisBuild / usePipelining := true`. [info] See http://eed3si9n.com/sbt-1.4.0-beta for full release notes. [info] Hide the banner for this release by running `skipBanner`. [info] sbt server started at local:///Users/eed3si9n/.sbt/1.0/server/478e6db75688771ddcf1/soc ``` --- main/src/main/scala/sbt/internal/Banner.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/main/src/main/scala/sbt/internal/Banner.scala b/main/src/main/scala/sbt/internal/Banner.scala index b317b5c9e..acd7fb6cc 100644 --- a/main/src/main/scala/sbt/internal/Banner.scala +++ b/main/src/main/scala/sbt/internal/Banner.scala @@ -10,6 +10,16 @@ package sbt.internal private[sbt] object Banner { def apply(version: String): Option[String] = version match { + case v if v.startsWith("1.4.0") => + Some(s""" + |Here are some highlights of this release: + | - Build server protocol (BSP) support + | - sbtn: a native thin client for sbt + | - VirtualFile + RemoteCache: caches build artifacts across different machines + | - Incremental build pipelining. Try it using `ThisBuild / usePipelining := true`. + |See http://eed3si9n.com/sbt-1.4.0-beta for full release notes. + |Hide the banner for this release by running `skipBanner`. + |""".stripMargin.linesIterator.mkString("\n")) case "1.3.0" => Some(s""" |Welcome to sbt $version.