From c17240d5d56e036e1d2c880f011c873ba3448eb2 Mon Sep 17 00:00:00 2001 From: Heiko Seeberger Date: Mon, 26 Apr 2021 19:34:49 +0200 Subject: [PATCH] Bump sbt to 1.5.1 --- project/build.properties | 2 +- src/main/scala/de/heikoseeberger/sbtfresh/FreshPlugin.scala | 2 +- src/main/scala/de/heikoseeberger/sbtfresh/Template.scala | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/project/build.properties b/project/build.properties index b366316..7bb94aa 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version = 1.5.0 +sbt.version = 1.5.1 diff --git a/src/main/scala/de/heikoseeberger/sbtfresh/FreshPlugin.scala b/src/main/scala/de/heikoseeberger/sbtfresh/FreshPlugin.scala index e118cf1..689153d 100644 --- a/src/main/scala/de/heikoseeberger/sbtfresh/FreshPlugin.scala +++ b/src/main/scala/de/heikoseeberger/sbtfresh/FreshPlugin.scala @@ -107,7 +107,7 @@ object FreshPlugin extends AutoPlugin { def setting[A](key: SettingKey[A]) = Project.extract(state).get(key) - val buildDir = setting(Keys.baseDirectory.in(ThisBuild)).toPath + val buildDir = setting(ThisBuild / Keys.baseDirectory).toPath val organization = args.organization.getOrElse(setting(freshOrganization)) val name = args.name.getOrElse(setting(freshName)) val author = args.author.getOrElse(setting(freshAuthor)) diff --git a/src/main/scala/de/heikoseeberger/sbtfresh/Template.scala b/src/main/scala/de/heikoseeberger/sbtfresh/Template.scala index 489b575..84c5671 100644 --- a/src/main/scala/de/heikoseeberger/sbtfresh/Template.scala +++ b/src/main/scala/de/heikoseeberger/sbtfresh/Template.scala @@ -23,7 +23,7 @@ private object Template { private val year = now().getYear def buildProperties: String = - """|sbt.version = 1.5.0 + """|sbt.version = 1.5.1 |""".stripMargin def buildSbt(