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-12-09 12:43:48 -05:00
|
|
|
scalaVersion := "2.13.7",
|
2021-02-25 13:19:39 -05:00
|
|
|
version := "0.1.0-SNAPSHOT",
|
|
|
|
semanticdbEnabled := true,
|
|
|
|
semanticdbVersion := scalafixSemanticdb.revision,
|
|
|
|
scalafixScalaBinaryVersion := "2.13"
|
|
|
|
)
|
|
|
|
),
|
|
|
|
name := "LibreCaptcha",
|
2021-12-09 12:54:38 -05:00
|
|
|
libraryDependencies += "com.sksamuel.scrimage" % "scrimage-core" % "4.0.24",
|
|
|
|
libraryDependencies += "com.sksamuel.scrimage" % "scrimage-filters" % "4.0.24",
|
2021-12-16 03:50:17 -05:00
|
|
|
libraryDependencies += "org.json4s" % "json4s-jackson_2.13" % "4.0.3"
|
2018-01-02 22:42:43 -05:00
|
|
|
)
|
2018-06-06 02:48:40 -04:00
|
|
|
|
2021-04-12 10:25:27 -04:00
|
|
|
Compile / unmanagedResourceDirectories += { baseDirectory.value / "lib" }
|
2021-02-25 13:19:39 -05:00
|
|
|
scalacOptions ++= List(
|
|
|
|
"-Yrangepos",
|
2021-04-01 07:32:25 -04:00
|
|
|
"-Ywarn-unused",
|
2021-12-09 12:55:03 -05:00
|
|
|
"-deprecation",
|
|
|
|
"-Xsource:3"
|
2021-02-25 13:19:39 -05:00
|
|
|
)
|
2018-12-17 03:04:24 -05:00
|
|
|
javacOptions += "-g:none"
|
|
|
|
compileOrder := CompileOrder.JavaThenScala
|
2021-04-21 04:57:19 -04:00
|
|
|
javafmtOnCompile := false
|
2021-04-12 10:25:27 -04:00
|
|
|
assembly / mainClass := Some("lc.LCFramework")
|
|
|
|
Compile / run / mainClass := Some("lc.LCFramework")
|
2021-12-15 16:54:00 -05:00
|
|
|
assembly / assemblyJarName := "LibreCaptcha.jar"
|
2018-12-17 03:04:24 -05:00
|
|
|
|
2021-04-12 10:25:27 -04:00
|
|
|
run / fork := true
|