I know Java 9 has a feature to let you include multiple versions of the same library for each JVM version. Not sure about the API enforcement, though.
On 3 November 2016 at 11:02, Gary Gregory <garydgreg...@gmail.com> wrote: > You just have to build with Java 8... we could use the animal sniffer > plugin to sandbox the other modules to Java 7. > > We could requires Java 8 for all of Log4j ... hides from flying tomatoes > ;-) > > Does Java 9 talk about adding some new compiler flag to kind of do what > the animal sniffer plugin does? > > Gary > > On Nov 3, 2016 8:55 AM, "Matt Sicker" <boa...@gmail.com> wrote: > >> So yes, it does sound like we'd need a 2.12 module now as well. I'm not >> exactly sure how to best configure maven to do a build like this. >> >> On 3 November 2016 at 10:31, Mikael Ståldal <mikael.stal...@magine.com> >> wrote: >> >>> Since different Scala versions are not binary compatible, we need a new >>> module to support Scala 2.12 (that's why we have two modules already, for >>> Scala 2.10 and 2.11). And that new module will require Java 8. >>> >>> On Thu, Nov 3, 2016 at 4:25 PM, Gary Gregory <garydgreg...@gmail.com> >>> wrote: >>> >>>> Oops I skipped typing the 8! >>>> >>>> On Nov 3, 2016 8:20 AM, "Matt Sicker" <boa...@gmail.com> wrote: >>>> >>>>> This one will require Java 8 to compile. We'll need to update our >>>>> build setup to support it. >>>>> >>>>> On 3 November 2016 at 10:14, Gary Gregory <garydgreg...@gmail.com> >>>>> wrote: >>>>> >>>>>> Do we need a new module to support Scala 2.12? >>>>>> http://www.scala-lang.org/news/2.12.0? It does require Java I think. >>>>>> >>>>>> Gary >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Matt Sicker <boa...@gmail.com> >>>>> >>>> >>> >>> >>> -- >>> [image: MagineTV] >>> >>> *Mikael Ståldal* >>> Senior software developer >>> >>> *Magine TV* >>> mikael.stal...@magine.com >>> Grev Turegatan 3 | 114 46 Stockholm, Sweden | www.magine.com >>> >>> Privileged and/or Confidential Information may be contained in this >>> message. If you are not the addressee indicated in this message >>> (or responsible for delivery of the message to such a person), you may >>> not copy or deliver this message to anyone. In such case, >>> you should destroy this message and kindly notify the sender by reply >>> email. >>> >> >> >> >> -- >> Matt Sicker <boa...@gmail.com> >> > -- Matt Sicker <boa...@gmail.com>