Commit Graph

1913 Commits

Author SHA1 Message Date
Alexandre Archambault def85e3ddc Add sbt-dotty test
And take scalaModuleInfo.overrideScalaVersion into account.
Also requires the loosened cross version application of the previous
commit.
2019-03-06 11:39:53 +01:00
Alexandre Archambault 5ea339c6f3 Only add cross version suffixes when necessary
From CoursierDependencyResolution
2019-03-06 10:59:35 +01:00
Alexandre Archambault dbcbad7e2b Switch to coursier 1.1.0-M13 2019-03-06 10:59:35 +01:00
Alexandre Archambault 22e194db90 Temporary workaround for coursier-based sbt launcher
Seems reload reloads sbt from the same classloader, which leaves the in
memory cache as is. When update is called, things are then picked from
the cache, and nothing gets logged, which makes the test fail.
2019-03-06 10:59:35 +01:00
Alexandre Archambault 852e73e036 Use coursier-based sbt launcher 2019-03-06 10:59:35 +01:00
Alexandre Archambault 74d28eb1c4 Tweak .travis.yml 2019-03-04 18:08:06 +01:00
Alexandre Archambault d852209172 Tweak tests
Most of those adjustments are required when using the coursier-based sbt
launcher.
2019-03-04 12:19:52 +01:00
Alexandre Archambault dab476ab93 Add extra check
The size == 1 check just below is required for scripted to work fine.
(The first module report must correspond to the passed dependency for
scripted to find the sbt launcher JAR.)

It seems under some conditions, the sbt launcher dependency ends up
being duplicated (it's already duplicated in the allDependencies task,
that should be set by sbt). This in turn makes the check fail, and makes
scripted not find the sbt launcher. This happens with
playframework/interplay at commit d782b75.

The call to distinct circumvents that case.
2019-03-04 12:19:52 +01:00
Scala steward 75b08dc7ff Update scalatest to 3.0.6 (#40) 2019-02-28 16:16:45 +01:00
Alexandre Archambault 642790159f
Merge pull request #38 from alexarchambault/develop
Switch to coursier 1.1.0-M12, use high level API
2019-02-26 16:43:21 +01:00
Alexandre Archambault 4eb4a98512 Remove unused dependency 2019-02-26 15:44:34 +01:00
Alexandre Archambault d21d388e85 Temporary workaround 2019-02-26 15:43:24 +01:00
Alexandre Archambault 9bd17e0fdd Switch to coursier 1.1.0-M12, use high level API 2019-02-26 13:37:30 +01:00
Alexandre Archambault 2fda1c1c45 Switch to sbt-coursier 1.1.0-M11 in build 2019-02-26 13:29:55 +01:00
Scala steward b747d2598b Update slf4j-api to 1.7.26 (#36) 2019-02-19 13:02:19 +01:00
Alexandre Archambault bb3e0f398a
Merge pull request #35 from alexarchambault/develop
Less flaky handling of special project org.scala-sbt:global-plugins…
2019-02-18 14:52:11 +01:00
Alexandre Archambault 399e84efd5 Warn in case of source dependencies where sbt-coursier isn't enabled 2019-02-18 14:03:54 +01:00
Alexandre Archambault 8e4fb146d8 Unused import 2019-02-18 14:03:54 +01:00
Alexandre Archambault 5377b537b1 Allow to disable publishing Javadoc with -Dpublish.javadoc
Useful when testing the plugin locally
2019-02-18 14:03:54 +01:00
Alexandre Archambault 3eb210eb1b Less flaky handling of special project org.scala-sbt:global-plugins 2019-02-18 14:03:54 +01:00
Alexandre Archambault 145d9eeb44
Merge pull request #34 from alexarchambault/topic/coursier-1.1.0-M11
Switch to coursier 1.1.0-M11-1
2019-02-13 12:16:36 +01:00
Alexandre Archambault 7c5b8479ea Adjust dependency graph printing 2019-02-13 10:04:54 +01:00
Alexandre Archambault bb45ca7f5d Renaming 2019-02-06 15:22:58 -08:00
Alexandre Archambault 1390d319b1 Instantiate logger earlier, only keep one instance around
The loggers are now supposed to be re-usable (which simplifies their
handling)
2019-02-06 15:22:52 -08:00
Alexandre Archambault bc69e0b11a Start to use bits of the high level API of coursier
Its parameters mostly
2019-02-06 15:22:42 -08:00
Alexandre Archambault 4226df911d Switch to coursier 1.1.0-M11-1 2019-02-06 15:20:51 -08:00
Alexandre Archambault f4cc16ee3f
Merge pull request #31 from coursier/topic/coursier-1.1.0-M10
Switch to coursier 1.1.0-M10
2019-02-01 09:45:20 +01:00
Alexandre Archambault 2e9d58808d Tweak Travis CI conf 2019-02-01 00:53:47 +01:00
Alexandre Archambault 697d84ea1a Switch to coursier 1.1.0-M10 2019-02-01 00:52:59 +01:00
Scala steward cc50de8804 Update sbt-contraband to 0.4.3 (#30) 2019-01-25 11:13:15 +01:00
Scala steward 80f661e9e4 Update sbt-contraband to 0.4.2 (#29) 2019-01-24 01:06:28 +01:00
Alexandre Archambault 8d568af4d9
Automatically add maven-plugin to classpathTypes for sbt plugins (#28) 2019-01-16 17:03:17 +01:00
Scala steward c8e18af3ef Update jsr305 to 3.0.2 (#25) 2019-01-16 09:48:21 +01:00
Scala steward 9f396db6c1 Update asm-commons, asm-util to 7.0 (#21) 2019-01-14 07:10:07 +01:00
Scala steward 41640051d7 Update librarymanagement-ivy to 1.2.4 (#26) 2019-01-14 07:09:52 +01:00
Scala steward 2d8e389787 Update paradise to 2.1.1 (#23) 2019-01-13 23:52:53 +01:00
Scala steward 07cbf3a199 Update librarymanagement-ivy to 1.0.4 (#22) 2019-01-13 23:52:44 +01:00
Scala steward 2efb919b89 Update utest to 0.6.6 (#20) 2019-01-13 23:51:39 +01:00
Scala steward c71ec889a6 Update sbt-pgp to 1.1.2 (#19) 2019-01-13 23:51:22 +01:00
Scala steward c15ab4b130 Update jsr305 to 2.0.3 (#18) 2019-01-13 23:50:50 +01:00
Scala steward da203ab116 Update argonaut-shapeless_6.2 to 1.2.0-M9 (#17) 2019-01-12 15:55:44 +01:00
Alexandre Archambault eb06719939
Don't run all scripted tests for sbt-lm-coursier on Appveyor (#24)
Builds often take more than one hour (and are stopped by Appveyor)
2019-01-11 12:27:08 +01:00
Alexandre Archambault 6b1a84c563
Add addSbtCoursier helper to sbt-lm-coursier too (#16) 2018-12-12 11:19:05 +01:00
Alexandre Archambault 6b1587302e
Tweak .travis.yml for sbt-ci-release (#14) 2018-12-04 16:27:04 +01:00
Alexandre Archambault 42d13bb07c
Switch to coursier 1.1.0-M9 (#13) 2018-12-03 12:34:11 +01:00
Alexandre Archambault 3987ba9af6
Don't write version intervals in update reports (#12) 2018-11-29 17:01:40 +01:00
Alexandre Archambault 0fcacffc6b Mention former implementations 2018-11-27 11:40:02 +01:00
Alexandre Archambault 05f8f321d9
Merge pull request #10 from alexarchambault/develop
Make sbt-lm-coursier pass more scripted tests
2018-11-22 17:18:32 +01:00
Alexandre Archambault a1dd332d4e Move remaining sbt-coursier specific tests 2018-11-22 14:23:50 +01:00
Alexandre Archambault 3b8e2f42cd Allow to tweak logger from sbt-lm-coursier too 2018-11-22 14:14:35 +01:00