diff --git a/build.sbt b/build.sbt index 1c0f4077c3..8ce1efd10f 100644 --- a/build.sbt +++ b/build.sbt @@ -23,6 +23,34 @@ addCommandAlias( addCommandAlias(name = "sortImports", value = ";scalafixEnable; scalafixAll SortImports; scalafmtAll") +import sbtwelcome._ + +logo := + s""" + |_______ ______ ______ + |___ |___ /_____ /________ _ + |__ /| |__ //_/__ //_/_ __ `/ + |_ ___ |_ ,< _ ,< / /_/ / + |/_/ |_|/_/|_| /_/|_| \\__,_/ ${version.value} + | + |""".stripMargin + +logoColor := scala.Console.BLUE + +usefulTasks := Seq( + UsefulTask("", "compile", "Compile the current project"), + UsefulTask("", "test", "Run all the tests "), + UsefulTask("", "testOnly *.AnySpec", "Only run a selected test"), + UsefulTask("", "verifyCodeStyle", "Verify code style"), + UsefulTask("", "applyCodeStyle", "Apply code style"), + UsefulTask("", "sortImports", "Sort the imports"), + UsefulTask("", "mimaReportBinaryIssues ", "Check binary issues"), + UsefulTask("", "validatePullRequest ", "Validate pull request"), + UsefulTask("", "akka-docs/paradox", "Build documentation"), + UsefulTask("", "akka-docs/paradoxBrowse", "Browse the generated documentation"), + UsefulTask("", "tips:", "prefix commands with `+` to run against cross Scala versions."), + UsefulTask("", "Contributing guide:", "https://github.com/akka/akka/blob/main/CONTRIBUTING.md")) + import akka.AkkaBuild._ import akka.{ AkkaBuild, Dependencies, OSGi, Protobuf, SigarLoader, VersionGenerator } import com.typesafe.sbt.MultiJvmPlugin.MultiJvmKeys.MultiJvm diff --git a/project/plugins.sbt b/project/plugins.sbt index 40dcb3fd93..60b001c246 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -22,3 +22,4 @@ addSbtPlugin("net.bzzt" % "sbt-reproducible-builds" % "0.30") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10") addSbtPlugin("com.lightbend.sbt" % "sbt-publish-rsync" % "0.2") +addSbtPlugin("com.github.reibitto" % "sbt-welcome" % "0.2.2")