From e1895d64f87dc3c699a3ccbc8a3143b18d3b5bb1 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Tue, 3 Jun 2014 16:34:23 +0200 Subject: Add scala-java8-compat to scala-library.jar When the ant build is run with `-Dscala-java8-compat.package`, the contents of `org.scala-lang.modules:scala-java8-compat` are spliced into `scala-library.jar`. This is handy to facilitate downstream testing of indy lambdas, we can just use the the compiler options `-target 1.8 -Ydelambdafy:method -Xexperimental` without needed to add `scala-java8-compat.jar` to the compile and runtime classpaths. (Classpath augmentation doesn't appear to be straight forward in partest or in the community build.) --- build.xml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'build.xml') diff --git a/build.xml b/build.xml index 4b79b68a02..cf7175cbab 100755 --- a/build.xml +++ b/build.xml @@ -266,6 +266,11 @@ TODO: --> + + + + + @@ -307,6 +312,36 @@ TODO: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -718,6 +753,7 @@ TODO: + @@ -739,6 +775,7 @@ TODO: + @@ -827,6 +864,7 @@ TODO: + -- cgit v1.2.3