Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Switch to scala 2.12 or enbable building and publishing for both 2.11 and 2.12 #247

Open
tfenne opened this issue Jan 21, 2017 · 6 comments

Comments

@tfenne
Copy link
Member

tfenne commented Jan 21, 2017

No description provided.

@nh13
Copy link
Member

nh13 commented Jan 21, 2017

This could affect a few users, so I'd like to know the motivation.

@tfenne
Copy link
Member Author

tfenne commented Jan 21, 2017

Umm, well scala 2.12 has been out for a while, including the first point release (2.12.1). Seems to me like most libraries at this point build for both 2.11 and 2.12 so people on both can use the jars in the public repos.

@nh13
Copy link
Member

nh13 commented Jan 21, 2017

Sorry if my question wasn't clear, I haven't taken the time to look closely, but is there 2.13, 2.14, or other releases we will need to support too? My first question though was asking was: what is the motivation for 2.12? Is this based on a new project elsewhere, or that most libraries support both or ???

@tfenne
Copy link
Member Author

tfenne commented Jan 21, 2017

For my part, there's enough stuff in 2.12 that I'd like to update projects where I can. Take a look here. One of the biggest changes is better interop with Java 8 features, and use of JVM/classfile features that came with Java 8 to make things smaller (jar sizes are decreased a fair bit on average) and offer some potential performance improvements. There's a new optimizer too which is supposed to make stuff faster, though I haven't tested.

@nh13
Copy link
Member

nh13 commented Jan 22, 2017

Ok, so is there any reason to stick to 2.11 then?

@tfenne
Copy link
Member Author

tfenne commented Jan 22, 2017

For ourselves, probably not. For anyone else who's using any part of dagr or fgbio as a library, moving wholesale to 2.12 means that there would be no future releases or bugfixes on 2.11

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants