2021-02-25 13:19:39 -05:00
|
|
|
lazy val root = (project in file(".")).settings(
|
|
|
|
inThisBuild(
|
|
|
|
List(
|
2018-01-02 22:42:43 -05:00
|
|
|
organization := "com.example",
|
2021-04-01 07:32:02 -04:00
|
|
|
scalaVersion := "2.13.5",
|
2021-02-25 13:19:39 -05:00
|
|
|
version := "0.1.0-SNAPSHOT",
|
|
|
|
semanticdbEnabled := true,
|
|
|
|
semanticdbVersion := scalafixSemanticdb.revision,
|
|
|
|
scalafixScalaBinaryVersion := "2.13"
|
|
|
|
)
|
|
|
|
),
|
|
|
|
name := "LibreCaptcha",
|
2021-04-01 08:02:45 -04:00
|
|
|
libraryDependencies += "com.sksamuel.scrimage" % "scrimage-core" % "4.0.12",
|
|
|
|
libraryDependencies += "com.sksamuel.scrimage" % "scrimage-filters" % "4.0.12",
|
2021-04-01 07:32:16 -04:00
|
|
|
libraryDependencies += "org.json4s" % "json4s-jackson_2.13" % "3.6.11"
|
2018-01-02 22:42:43 -05:00
|
|
|
)
|
2018-06-06 02:48:40 -04:00
|
|
|
|
2021-02-25 13:19:39 -05:00
|
|
|
unmanagedResourceDirectories in Compile += { baseDirectory.value / "lib" }
|
|
|
|
scalacOptions ++= List(
|
|
|
|
"-Yrangepos",
|
2021-04-01 07:32:25 -04:00
|
|
|
"-Ywarn-unused",
|
|
|
|
"-deprecation"
|
2021-02-25 13:19:39 -05:00
|
|
|
)
|
2018-12-17 03:04:24 -05:00
|
|
|
javacOptions += "-g:none"
|
|
|
|
compileOrder := CompileOrder.JavaThenScala
|
2021-03-29 06:01:27 -04:00
|
|
|
mainClass in assembly := Some("lc.LCFramework")
|
|
|
|
mainClass in (Compile, run) := Some("lc.LCFramework")
|
|
|
|
assemblyJarName in assembly := "LibreCaptcha.jar"
|
2018-12-17 03:04:24 -05:00
|
|
|
|
2018-06-06 02:48:40 -04:00
|
|
|
fork in run := true
|