Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Scala 2.13 support everywhere we can (ie Play 2.7, but not Play 2.6) #9

Merged
merged 1 commit into from
Oct 6, 2019

Conversation

rtyley
Copy link
Member

@rtyley rtyley commented Oct 6, 2019

This project compiles with Scala 2.12 by default, but now additionally can cross-compile to Scala 2.13 almost everywhere (not Play 2.6 because that never supported Scala 2.13).

Additional sbt changes:

This project compiles with Scala 2.12 by default, but now additionally
can cross-compile to Scala 2.13 almost everywhere (not Play 2.6 because
that never supported Scala 2.13).

* Use `Iterable` in preference to the deprecated `Traversable` trait
  https://www.scala-lang.org/blog/2017/02/28/collections-rework.html#traversable-and-iterable
  https://www.scala-lang.org/blog/2018/06/13/scala-213-collections.html#iterable-is-the-top-collection-type
* `scaffeine` & `scalatest` both updated to cross-compiled versions

Additional sbt changes:

* Use the latest version of sbt, which is faster at downloading
  dependencies!
  https://www.lightbend.com/blog/sbt-1.3.0-release
* Use the latest version of `sbt-sonatype`, which has improved upload times
  into sonatype by using bundling!
  xerial/sbt-sonatype#89
@rtyley rtyley merged commit 3b9a26a into master Oct 6, 2019
rtyley added a commit to guardian/play-googleauth that referenced this pull request Oct 6, 2019
This project compiles with Scala 2.12 by default, but now additionally
can cross-compile to Scala 2.13 for the versions of Play that support it
(ie Play 2.7, but not Play 2.6).

* `cats-core` & `scalatest` both updated to cross-compiled versions
* `play-secret-rotation` updated to cross-compiled version
  guardian/play-secret-rotation#9
rtyley added a commit to guardian/play-googleauth that referenced this pull request Oct 15, 2019
This project compiles with Scala 2.12 by default, but now additionally
can cross-compile to Scala 2.13 for the versions of Play that support it
(ie Play 2.7, but not Play 2.6).

* `cats-core` & `scalatest` both updated to cross-compiled versions
* `play-secret-rotation` updated to cross-compiled version
  guardian/play-secret-rotation#9
rtyley added a commit that referenced this pull request Aug 19, 2020
This change retains support for Play v2.6 & v2.7, as happily the code
for `RotatingSecretComponents` is compatible with all 3 versions of
Play! We were lucky!

Pleasantly small diff here, due to the refactoring work that went into
these two prior PRs:

* #8
  ...supporting Play 2.7
* #9
  ...supporting Scala 2.13 everywhere that was possible
rtyley added a commit that referenced this pull request Aug 19, 2020
This change retains support for Play v2.6 & v2.7, as happily the code
for `RotatingSecretComponents` is compatible with all 3 versions of
Play! We were lucky!

Pleasantly small diff here, due to the refactoring work that went into
these two prior PRs:

* #8
  ...supporting Play 2.7
* #9
  ...supporting Scala 2.13 everywhere that was possible
@rtyley rtyley deleted the add-scala-2.13-support branch April 3, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant