mirror of
https://gitlab.com/cc-ru/ocelot/ocelot-desktop.git
synced 2025-12-20 02:59:19 +01:00
Remove unnecessary Java 8 enforcement
This commit is contained in:
parent
bbfb840430
commit
deb0365d87
@ -14,15 +14,6 @@ lazy val root = project.in(file("."))
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
// Ensure Java 8 compatibility
|
|
||||||
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
|
|
||||||
initialize := {
|
|
||||||
val _ = initialize.value
|
|
||||||
val required = "1.8"
|
|
||||||
val current = sys.props("java.specification.version")
|
|
||||||
assert(current == required, s"Incompatible JDK: java.specification.version $current != $required")
|
|
||||||
}
|
|
||||||
|
|
||||||
lazy val brain = ProjectRef(file("lib/ocelot-brain"), "ocelot-brain")
|
lazy val brain = ProjectRef(file("lib/ocelot-brain"), "ocelot-brain")
|
||||||
|
|
||||||
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value
|
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user