deepin-ocr/3rdparty/opencv-4.5.4/samples/java/sbt/project/build.scala

23 lines
464 B
Scala
Raw Normal View History

import sbt._
import Keys._
object OpenCVJavaDemoBuild extends Build {
def scalaSettings = Seq(
scalaVersion := "2.10.0",
scalacOptions ++= Seq(
"-optimize",
"-unchecked",
"-deprecation"
)
)
def buildSettings =
Project.defaultSettings ++
scalaSettings
lazy val root = {
val settings = buildSettings ++ Seq(name := "OpenCVJavaDemo")
Project(id = "OpenCVJavaDemo", base = file("."), settings = settings)
}
}