summaryrefslogtreecommitdiff
path: root/build.sc
diff options
context:
space:
mode:
authorNikolay Tatarinov <5min4eq.unity@gmail.com>2018-03-25 11:36:01 +0300
committerGitHub <noreply@github.com>2018-03-25 11:36:01 +0300
commitf45f11b88fe00ea6fecb44e7da0aadbfffd01b25 (patch)
treef2cc04c4ac4244fc336aea1ed1fd523cfac30513 /build.sc
parentf8cea556bf2d0989c371d104f3c862c666ebdfce (diff)
downloadmill-f45f11b88fe00ea6fecb44e7da0aadbfffd01b25.tar.gz
mill-f45f11b88fe00ea6fecb44e7da0aadbfffd01b25.tar.bz2
mill-f45f11b88fe00ea6fecb44e7da0aadbfffd01b25.zip
try to fix classloading issues on runLocal and test with java 9 (#255)
* fix class loading for inprocess in java 9 * always add rt jar in case of java 9 * move all custom classloading logic into mill.util.ClassLoader * add comments explaining parent class loader changes and comment in tests pointing to original issue
Diffstat (limited to 'build.sc')
-rwxr-xr-xbuild.sc3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.sc b/build.sc
index bc3c3cf3..a0e563c3 100755
--- a/build.sc
+++ b/build.sc
@@ -25,6 +25,9 @@ trait MillPublishModule extends PublishModule{
Developer("lihaoyi", "Li Haoyi","https://github.com/lihaoyi")
)
)
+
+ def javacOptions = Seq("-source", "1.8", "-target", "1.8")
+
}
object moduledefs extends MillPublishModule{
def ivyDeps = Agg(