incremental scala issue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

incremental scala issue

Szczepan Faber-2
Hey,

There's an issue with current incremental scala compilation as the zinc version Gradle is compiled with is not compatible with latest scala (2.10.3). Here's the state of things:

1. Gradle currently is compiled against and uses by default zinc 0.2.1
2. zinc 0.2.1 does not seem to work correctly with scala 2.10.3: https://gist.github.com/szczepiq/8180f8628745d58545f7
3. zinc 0.3.0/0.3.1-RC1/0.3.2-M1 does not seem to work correctly with Gradle, due to incompatible changes in Inputs.create and Setup.create.

I'm inquiring typesafe folks what's the plan for those breaking changes: https://github.com/typesafehub/zinc/issues/44

Regardless of the outcome I think we should do something so that Gradle incremental scala support works nicely with latest scala.

Right now I'm trying to:
 - get Gradle compiled with latest zinc
 - add more coverage

When I'm happy with the outcome (e.g. stuff works with older scala's, too)  I suggest that we start using latest zinc. This is a breaking change for users that  have configured explicitly a low version of zinc (not sure why would anyone want to do this).

Any feedback?

Cheers!
-- 
Szczepan Faber
Principal engineer@gradle; Founder@mockito
Reply | Threaded
Open this post in threaded view
|

Re: incremental scala issue

Adam Murdoch

On 19 Feb 2014, at 3:30 am, Szczepan Faber <[hidden email]> wrote:

Hey,

There's an issue with current incremental scala compilation as the zinc version Gradle is compiled with is not compatible with latest scala (2.10.3). Here's the state of things:

1. Gradle currently is compiled against and uses by default zinc 0.2.1
2. zinc 0.2.1 does not seem to work correctly with scala 2.10.3: https://gist.github.com/szczepiq/8180f8628745d58545f7
3. zinc 0.3.0/0.3.1-RC1/0.3.2-M1 does not seem to work correctly with Gradle, due to incompatible changes in Inputs.create and Setup.create.

I'm inquiring typesafe folks what's the plan for those breaking changes: https://github.com/typesafehub/zinc/issues/44

Regardless of the outcome I think we should do something so that Gradle incremental scala support works nicely with latest scala.

Right now I'm trying to:
 - get Gradle compiled with latest zinc
 - add more coverage

When I'm happy with the outcome (e.g. stuff works with older scala's, too)  I suggest that we start using latest zinc. This is a breaking change for users that  have configured explicitly a low version of zinc (not sure why would anyone want to do this).

Any feedback?

I think it’s a good plan.


--
Adam Murdoch
Gradle Co-founder
http://www.gradle.org
VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting
http://www.gradleware.com