enragedginger / akka-quartz-scheduler

Quartz Extension and utilities for cron-style scheduling in Akka
Other
559 stars 113 forks source link

Rebuild on Scala 2.12.7 Mandatory #78

Closed twoodhouse closed 5 years ago

twoodhouse commented 5 years ago

Hi! I am using this library, but it is now broken for Java 11. Any QuartzSchedulerExtension.get(....) java calls fail with "reference to get is ambiguous"

For info, see this post: https://contributors.scala-lang.org/t/library-authors-rebuild-on-2-12-7-to-improve-callability-from-java-on-jdk-11/2465

If you could rebuild on Scala 2.12.7, it will fix the issue. It would be awesome if you could do this soon, as I must transition to Java 11 in the near future for other reasons. Thanks!

enragedginger commented 5 years ago

Hello @twoodhouse , Thanks for reporting this. I don't have any Java projects that are using this library, so I don't have an easy way of testing this out. Can you:

twoodhouse commented 5 years ago

@enragedginger, Thanks for the steps.

I built your project locally with 2.12.7. Then referencing the local jar from my java project, the "reference to get is ambigous" error went away.

So it looks like this does indeed resolve the issue for Java 11!

twoodhouse commented 5 years ago

When you get the chance, I would appreciate a maven jar for this (built with scala 2.12.7). Thanks for the support!

enragedginger commented 5 years ago

@twoodhouse I've published version 1.7.1 of the akka-quartz-scheduler which should fix your issue.