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(