Commit Graph

7 Commits

Author SHA1 Message Date
eugene yokota 1ae2d9d59c
Merge pull request #6517 from Nirvikalpa108/fix-nowarn
Fix @nowarn annotation in old sbt plugin style
2021-05-21 13:58:16 -04:00
Amina Adewusi 2e6fb3f2a5 Fix nowarn in both old & new sbt plugin styles
Fixes #6430.

What is the problem?
As detailed in #6430, the @nowarn annotation was not suppressing
warnings, even after the first attempt to fix this in PR#6431.

This first PR fixed the problem for projects using
enablePlugins(SbtPlugin), but not for those using sbtPlugin := true.

Why is this a valuable problem to solve?
The annotation was not working as users would expect.

What is this solution?
I have moved the scalacOptions change from SbtPlugin.projectSettings
to the scalacOptions in the JvmPlugin settings.

Has this been tested?
Yes, a test has been added. Also, this branch was tested successfully
on the twinagle repo (https://github.com/soundcloud/twinagle/pull/224).
2021-05-21 18:11:24 +01:00
Brice Jaglin 622eabfa95 dedup unmanagedSourceDirectories for Scala 3
For Scala 3, scalaBinaryVersion == epochVersion
2021-05-15 22:14:51 +02:00
Eugene Yokota 56c1a0598c Remove a scripted test that uses Bintray 2021-05-02 21:02:23 -04:00
Amina Adewusi b27ea623a5 Fixes failing tests
Tests were failing because of bintray migration. Lightbend forgot
to move dependencies. This fixes it by upgrading to more modern
library dependencies.
2021-04-30 16:37:07 +01:00
Eugene Yokota c27ccae81e Apparently Lightbend is not migrating https://repo.typesafe.com/typesafe/maven-releases/com/codahale/jerkson_2.9.1/0.5.0/? 2021-04-24 17:33:24 -04:00
Eugene Yokota 42464e095f Implement sbt-launch.jar download 2021-04-19 23:43:15 -04:00