We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
intialize
1 parent 1e9ce89 commit 74fc9eeCopy full SHA for 74fc9ee
build.sbt
@@ -50,7 +50,9 @@ sourceGenerators in Test <+= sourceManaged in Test map { dir =>
50
}
51
52
initialize := {
53
- val _ = initialize.value
+ // Run previously configured inialization...
54
+ initialize.value
55
+ // ... and then check the Java version.
56
val specVersion = sys.props("java.specification.version")
57
if (Set("1.5", "1.6", "1.7") contains specVersion)
58
sys.error("Java 8 or higher is required for this project.")
0 commit comments