@@ -266,6 +266,11 @@ TODO:
266
266
-->
267
267
<if ><not ><isset property =" maven-deps-done" ></isset ></not ><then >
268
268
<mkdir dir =" ${ user.home } /.m2/repository" />
269
+
270
+ <artifact : remoteRepository id =" sonatype-release" url =" https://oss.sonatype.org/content/repositories/releases" />
271
+ <artifact : remoteRepository id =" sonatype-snapshots" url =" https://oss.sonatype.org/content/repositories/snapshots" />
272
+ <artifact : remoteRepository id =" extra-repo" url =" ${ extra.repo.url } " />
273
+
269
274
<!-- This task has an issue where if the user directory does not exist, so we create it above. UGH. -->
270
275
<artifact : dependencies pathId =" extra.tasks.classpath" filesetId =" extra.tasks.fileset" >
271
276
<dependency groupId =" biz.aQute" artifactId =" bnd" version =" 1.50.0" />
@@ -307,6 +312,36 @@ TODO:
307
312
<artifact : remoteRepository id =" sonatype-release" url =" https://oss.sonatype.org/content/repositories/releases" />
308
313
<artifact : remoteRepository id =" extra-repo" url =" ${ extra.repo.url } " />
309
314
315
+ <!-- scala-java8-compat, used by the experimental -target jvm-1.8 support. -->
316
+ <if ><isset property =" scala-java8-compat.package" /><then >
317
+ <property name =" scala-java8-compat.version" value =" 0.2.0" />
318
+ <property name =" scala-java8-compat.binary.version" value =" 2.11" />
319
+ <artifact : dependencies pathId =" scala-java8-compat.classpath" filesetId =" scala-java8-compat.fileset" >
320
+ <dependency groupId =" org.scala-lang.modules" artifactId =" scala-java8-compat_${ scala-java8-compat.binary.version } " version =" ${ scala-java8-compat.version } " >
321
+ <exclusion groupId =" org.scala-lang" artifactId =" scala-library" />
322
+ </dependency >
323
+ </artifact : dependencies >
324
+ <property name =" scala-java8-compat-classes" value =" ${ build-quick.dir } /scala-java8-compat" />
325
+ <delete dir =" ${ scala-java8-compat-classes } " />
326
+ <unzip dest =" ${ scala-java8-compat-classes } " >
327
+ <fileset refid =" scala-java8-compat.fileset" />
328
+ <patternset >
329
+ <include name =" **/*.class" />
330
+ </patternset >
331
+ </unzip >
332
+ <path id =" scala-java8-compat.libs" >
333
+ <pathelement location =" ${ scala-java8-compat-classes } " />
334
+ </path >
335
+ <fileset id =" scala-java8-compat.fileset" dir =" ${ scala-java8-compat-classes } " >
336
+ <include name =" **/*" />
337
+ </fileset >
338
+ </then >
339
+ <else >
340
+ <path id =" scala-java8-compat.libs" />
341
+ <fileset id =" scala-java8-compat.fileset" dir =" ." excludes =" **" />
342
+ </else >
343
+ </if >
344
+
310
345
<!-- prepare, for each of the names below, the property "@{name}.cross", set to the
311
346
necessary cross suffix (usually something like "_2.11.0-M6". -->
312
347
<prepareCross name =" scala-xml" />
@@ -718,6 +753,7 @@ TODO:
718
753
<pathelement location =" ${ build-locker.dir } /classes/library" />
719
754
<path refid =" forkjoin.classpath" />
720
755
<path refid =" aux.libs" />
756
+ <path refid =" scala-java8-compat.libs" />
721
757
</path >
722
758
723
759
<path id =" locker.reflect.build.path" >
@@ -739,6 +775,7 @@ TODO:
739
775
<pathelement location =" ${ build-quick.dir } /classes/library" />
740
776
<path refid =" forkjoin.classpath" />
741
777
<path refid =" aux.libs" />
778
+ <path refid =" scala-java8-compat.libs" />
742
779
</path >
743
780
744
781
<path id =" quick.actors.build.path" >
@@ -827,6 +864,7 @@ TODO:
827
864
<path id =" pack.library.files" >
828
865
<fileset dir =" ${ build-quick.dir } /classes/library" />
829
866
<fileset dir =" ${ forkjoin-classes } " />
867
+ <fileset refid =" scala-java8-compat.fileset" />
830
868
</path >
831
869
832
870
<path id =" pack.actors.files" >
0 commit comments