File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,14 @@ rm -rf target-*/project-builds || true
13
13
rm -rf target-* /extraction || true
14
14
15
15
export LANG=" en_US.UTF-8"
16
- if [[ ` java -version 2>&1 | head -n 1` != * " 1.8.0" * ]]; then
17
- # on Java 9+, the Scala.js build expects this property to be set.
18
- # note the kludgy specificity here, this will need further work
19
- # to be more flexible with different JVMs
16
+
17
+ # on Java 9+, the Scala.js build expects this property to be set.
18
+ # note the kludgy specificity here, this will need further work
19
+ # to be more flexible with different JVMs
20
+ if [[ ` java -version 2>&1 | head -n 1` == * " 9.0." * ]]; then
20
21
export SCALA_JS_OPTIONS=-Dscala.ext.dirs=$HOME /.sbt/0.13/java9-rt-ext-oracle_corporation_9_0_4
22
+ elif [[ ` java -version 2>&1 | head -n 1` == * " 10.0." * ]]; then
23
+ export SCALA_JS_OPTIONS=-Dscala.ext.dirs=$HOME /.sbt/0.13/java9-rt-ext-oracle_corporation_10_0_1
21
24
else
22
25
export SCALA_JS_OPTIONS=-Ddummy.ignore=nope
23
26
fi
You can’t perform that action at this time.
0 commit comments