From 2d7f229d30c94db18b5bfb8cdf439be99edeac2c Mon Sep 17 00:00:00 2001 From: hrj Date: Mon, 12 Apr 2021 19:55:27 +0530 Subject: [PATCH] bump to latest sbt version --- build.sbt | 10 +++++----- project/build.properties | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.sbt b/build.sbt index c9d5e50..01eeee4 100644 --- a/build.sbt +++ b/build.sbt @@ -15,7 +15,7 @@ lazy val root = (project in file(".")).settings( libraryDependencies += "org.json4s" % "json4s-jackson_2.13" % "3.6.11" ) -unmanagedResourceDirectories in Compile += { baseDirectory.value / "lib" } +Compile / unmanagedResourceDirectories += { baseDirectory.value / "lib" } scalacOptions ++= List( "-Yrangepos", "-Ywarn-unused", @@ -23,8 +23,8 @@ scalacOptions ++= List( ) javacOptions += "-g:none" compileOrder := CompileOrder.JavaThenScala -mainClass in assembly := Some("lc.LCFramework") -mainClass in (Compile, run) := Some("lc.LCFramework") -assemblyJarName in assembly := "LibreCaptcha.jar" +assembly / mainClass := Some("lc.LCFramework") +Compile / run / mainClass := Some("lc.LCFramework") +assembly / assemblyJarName := "LibreCaptcha.jar" -fork in run := true +run / fork := true diff --git a/project/build.properties b/project/build.properties index dbae93b..e67343a 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.4.9 +sbt.version=1.5.0