Commit Graph

279 Commits

Author SHA1 Message Date
Eugene Yokota e9ee8a6cab Scala 3 2022-01-30 02:55:17 -05:00
Scala Steward 692f27539d
Update sbt-mima-plugin to 1.0.1 (#365) 2021-11-23 23:50:47 +01:00
Scala Steward f9612710cb
Update sbt-mima-plugin to 0.9.2 (#351) 2021-11-23 22:03:26 +01:00
Alexandre Archambault c4b90111aa Remove sbt-eviction-rules / sbt-version-policy for now
Running into weird issues with scala-xml 1/2, and the latest
sbt-version-policy needs a more recent sbt than the one we're on.
2021-11-23 18:55:06 +01:00
Amina Adewusi 3c81e08fa2 Migrates Treeview.scala to use Contraband
Migrates TreeView.scala to use Contraband from scala.util.parsing.json,
because this is now deprecated.
The TreeView logic is used in the dependencyBrowseTree task.
2021-11-12 16:52:12 +00:00
Scala Steward 18a4bdce6b
Update sbt-ci-release to 1.5.10 (#363) 2021-11-05 17:55:05 +01:00
Scala Steward 8d51bc1b27
Update sbt-ci-release to 1.5.9 (#361) 2021-11-05 15:47:27 +01:00
Scala Steward 6adbc239de
Update sbt-ci-release to 1.5.7 (#334) 2021-07-26 23:45:47 +02:00
Eugene Yokota 8f80367e3c Use sbt 1.5.1 2021-05-02 23:41:55 -04:00
Eugene Yokota 5269e12e67 Use sbt 1.5.1 2021-05-02 22:18:03 -04:00
Scala Steward 6f887c6cd8
Update sbt-ci-release to 1.5.6 (#329) 2021-03-21 17:16:36 +01:00
Scala Steward b79b094269
Update sbt-shading to 2.0.1 (#332) 2021-03-21 17:16:30 +01:00
Eugene Yokota 7f6bbafb9b Remove sbt-bintray 2021-03-14 23:57:13 -04:00
Eugene Yokota 2759a122cf Drop Bintray from release
Fixes https://github.com/sbt/sbt/issues/6370

compatibility note
Today we release the sbt-launcher JAR **twice** under
https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/1.4.7/:
- https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/1.4.7/sbt-launch-1.4.7.jar
- https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/1.4.7/sbt-launch.jar

I think this goes back to the early days when we used to tell people to download the `sbt-launch.jar` and write your own launcher script, which I remember doing. Some remnant seen in https://www.scala-sbt.org/0.12.4/docs/Getting-Started/Setup.html#unix.

I think we can drop this old practice.
2021-03-07 17:47:58 -05:00
João Ferreira 65b4130e6b
Update plugins.sbt 2020-12-21 13:47:50 +00:00
João Ferreira 4595faebd8 bump contraband 2020-12-21 13:41:32 +00:00
Scala Steward d917a137ef
Update sbt-ci-release to 1.5.5 (#300) 2020-12-11 00:07:34 +01:00
Scala Steward 5825e8cf47
Update sbt-ci-release to 1.5.4 (#288) 2020-11-09 14:29:20 +01:00
Alexandre Archambault 48be638d91 Back to sbt-mima mainline 2020-10-23 16:30:16 +02:00
Eugene Yokota f63adb4a8a Util 1.4.0 2020-10-04 12:42:46 -04:00
Eugene Yokota a9bda61ee5 Use Ivy for metabuild 2020-10-04 00:36:55 -04:00
Eugene Yokota 54aeba1607 Contraband 0.5.0 2020-08-15 13:20:46 -04:00
Ethan Atkins cc80b6c6ed Bump javafmt plugin version 2020-06-24 11:24:15 -07:00
Scala Steward 41e561f9ab
Update sbt-compatibility to 0.0.8 (#253) 2020-06-12 22:07:10 +02:00
Alexandre Archambault 3d9462a6e2 Check for evictions on CI 2020-06-09 16:21:27 +02:00
Alexandre Archambault e6be0cb7fb Add sbt-compatibility 2020-06-09 16:21:27 +02:00
Alexandre Archambault 24f1baaf97 Temporarily use custom sbt-mima
That fetches previous artifacts with coursier rather than ivy.
2020-06-02 16:17:48 +02:00
Alexandre Archambault ee8a818160 Remove sbt-lm-coursier
It's actually not needed, and can be an issue if users use a vanilla sbt
launcher, pulling an old lm-coursier library.
2020-05-12 16:13:32 +02:00
Alexandre Archambault 94edfb1530 Use sbt-lm-coursier rather than sbt-coursier 2020-05-12 14:50:01 +02:00
Alexandre Archambault 90c80c1959 Update sbt-coursier to 2.0.0-RC6-4 2020-05-12 14:49:14 +02:00
Alexandre Archambault e43be3d52d Update sbt-shading to 2.0.0 2020-05-12 01:00:40 +02:00
Scala Steward b1b8f2c441
Update sbt-ci-release to 1.5.3 (#216) 2020-05-04 12:40:13 +02:00
Eugene Yokota 2396b449fe Contraband 0.4.6 2020-04-24 17:44:15 -04:00
Eugene Yokota fd71e8cb17 Bump Contraband 2020-04-06 18:15:46 -04:00
Scala Steward af3f8aed05
Update sbt-mima-plugin to 0.7.0 (#203) 2020-03-02 10:42:33 +01:00
Scala Steward b220a05775
Update sbt-ci-release to 1.5.2 (#192) 2020-02-09 12:26:57 +01:00
Scala Steward 57b9ae2f5e Update sbt-mima-plugin to 0.6.4 (#191) 2020-02-08 15:31:35 +01:00
Alexandre Archambault cf7498d256 Switch to sbt-mima 0.6.3
And restrict checked versions in mima (incompatible signature problem
with former versions).
2020-02-04 12:21:47 +01:00
Scala Steward 6f710c526f
Update sbt-coursier, sbt-shading to 2.0.0-RC5-3 (#177) 2020-02-03 17:49:10 +01:00
Ethan Atkins ae4d3aecb8 Explicitly set scripted and server test classpath
This commit makes it so that the scalaVersion, sbtVersion and classpath
are always passed in as parameters to any method that creates an sbt
server -- either for scripted or for the sbt server tests. By making
that change, I was able to change the implementation of scripted in the
sbt project to use publishLocalBin instead of publishLocal. This makes
the scripted tests start much faster (doc alone can easily take 30
second) with messing with the build to exclude slow tasks from
publishLocal.

As part of this change, I removed the test dependency on scriptedSbtRedux for
sbtProj and instead had scriptedSbtRedux depend on sbtProj. This allowed
me to remove some messy LocalProject logic in the resourceGenerators for
scriptedSbtReduxProj. I also had to remove a number of imports in the
scriptedSbtReduxProj because the definitions available in the sbt
package object became available.

I also removed the dependency on sbt-buildinfo and instead pass the
values from the build into test classes using scalatest properties. I
ran into a number of minor issues with the build info plugin, namely
that I couldn't get fullClasspathAsJars to reliably run as a BuildInfo
key. It also is somewhat more clear to me to just rely on the built in
scalatest functionality. The big drawback is that the scalatest
properties can only be strings, but that restriction isn't really a
problem here (strangely the TestData structure has a field configMap
which is effectively Map[String, Any] but Any is actually always String
given how the TestData is created as part of framework initialization.

Since scripted no longer publishes, scriptedUnpublished is now
effectively an alias for scripted.

To get publishLocalBin working, I had to copy private code from
IvyXml.scala into PublishBinPlugin. Once we publish a new version of
sbt, we can remove the copied code and invoke IvyXml.makeIvyXmlBefore
directly.
2020-01-19 09:04:26 -08:00
Ethan Atkins 813864ec0f Add swoval java formatting plugin
The swoval javafmt plugin uses the google java formatter (which I
believe is the only widely used java formatter) to format source files.
It does not provide an automatic javafmtOnCompile method like the
scalafmt plugin so I had to manually implement that functionality. In
general the java formatter is much faster than scalafmt so the impact of
having javafmtOnCompile set to true is very low.
2020-01-14 14:20:23 -08:00
Ethan Atkins adfdb945f8 Upgrade scalafmt
Intellij has problems with older versions of scalafmt (see
https://github.com/scalameta/scalafmt/issues/1630). Not sure if this a
scalafmt issue or an intellij issue. I pinned the edition to October
2019 to avoid reformatting tons of files. Once development stabilizes,
we may wish to drop the edition but, for now, it's disruptive to change
the formatting.
2020-01-12 13:52:10 -08:00
Scala Steward 03e6e7b47e Update sbt-ci-release to 1.5.0 (#172) 2019-12-29 19:57:06 +01:00
Eugene Yokota ea9d382b89 add hook for nightly build 2019-12-28 16:04:18 -05:00
Eugene Yokota 80aeb7eed9 add aggregate project for lower utils and upper modules 2019-12-27 00:24:03 -05:00
Ethan Atkins 8bfae66b9d Update build.sbt to handle util projects
As part of re-integrating util into the sbt main project, I had to
update the build.sbt and a few dependencies (like the contraband plugin).
2019-12-08 10:28:31 -08:00
Ethan Atkins 094d730b06 Bump scalafmt 2019-11-30 14:57:20 -08:00
Dale Wijnand 02e26465f7 Cleanup project/Transform.scala 2019-11-28 21:25:49 +00:00
Scala Steward 0ea55698a6 Update sbt-coursier, sbt-shading to 2.0.0-RC5-2 (#159) 2019-11-23 17:17:37 +01:00
Scala Steward cb842cff67 Update sbt-coursier, sbt-shading to 2.0.0-RC5-1 (#157) 2019-11-21 08:57:22 +01:00
Scala Steward de3b4f0458 Update sbt-coursier, sbt-shading to 2.0.0-RC4-1 (#153) 2019-11-14 20:22:04 +01:00
Eugene Yokota 6f49065a56 in-source sbt-houserules 2019-10-20 00:41:53 -04:00
Eugene Yokota 8aeb43fc11 in-source sbt-houserules 2019-10-19 19:53:11 -04:00
Alexandre Archambault ce2544d776
Use data-class in lm-coursier (#152) 2019-10-18 13:39:03 +02:00
Filipe Regadas 9cdf5957ed
Add sbt-mima-plugin 2019-10-16 19:27:11 +01:00
Scala Steward 03249a84ea Update sbt-coursier, sbt-shading to 2.0.0-RC4 (#149) 2019-10-14 17:16:03 +02:00
Alexandre Archambault 14a4a6998a
Switch to sbt-ci-release 1.4.31 (#146) 2019-09-28 15:27:58 +02:00
Alexandre Archambault fbd43de9b9 Switch to sbt 1.3.2 2019-09-21 16:34:58 +02:00
Scala Steward bdbf031566 Update sbt-ci-release to 1.3.2 (#140) 2019-09-17 12:50:38 +02:00
Alexandre Archambault 2a37eb24e2
Remove explicit dependency on sbt-pgp (#139)
sbt-ci-release should pull the right version itself
2019-09-17 12:50:15 +02:00
Eugene Yokota 5d0793fece Scala 2.12.10 2019-09-11 23:02:50 -04:00
Alexandre Archambault 50404c552f
Switch to sbt-ci-release 1.3.1 (#129) 2019-09-11 09:18:46 +02:00
eugene yokota ebe96c613f Include reconciliation to CoursierConfiguration (#112)
Also re-enable sbt-contraband, and deal with Dependency change.
2019-08-09 11:55:57 +02:00
Ethan Atkins d86afb5745 Revert "Merge pull request #4930 from eatkins/2.12.9"
This reverts commit 053b72005d, reversing
changes made to d6b8e0388c.
2019-08-08 11:09:29 -07:00
Ethan Atkins b26ce819ca Bump default scala version to 2.12.9
I automatically generated with:

git grep "2.12.8" | \
  cut -d ':' -f1 | uniq | xargs perl -p -i -e "s/2.12.8/2.12.9/"
2019-08-05 13:12:28 -07:00
Ethan Atkins 4cee23043a Bump scalafmt
The latest version may fix some issues with concurrent builds running
scalafmt: https://github.com/scalameta/scalafmt/issues/1399.
2019-08-01 11:57:29 -07:00
Scala Steward 32e4d44e6d Update sbt-ci-release to 1.2.6 (#88) 2019-06-20 09:42:22 +02:00
Alexandre Archambault bed2d2dd28
Easier bin compat for stuff under lmcoursier.definitions (#73) 2019-05-28 12:48:16 +02:00
Eugene Yokota 180af46fe5 bump plugins 2019-04-29 23:31:20 -04:00
Alexandre Archambault 6bdd0f985a Vendor more stuff in lmcoursier, shade coursier in it
Along with shapeless, argonaut, argonaut-shapeless that coursier depends
on now.
2019-04-25 16:34:08 +02:00
Eugene Yokota 78c007c910 sbt-scalafmt 2.0.0 2019-04-20 03:23:08 -04:00
Dale Wijnand b38a7486dd
Upgrade to sbt-buildinfo 0.9.0 2019-04-13 09:44:09 +01:00
Dale Wijnand 8ce806251c
sbt-whitesource 0.1.14
Avoid coursier failing to find pecoff4j.
2019-04-01 17:25:09 +02:00
Eugene Yokota db45b456ef switch to official sbt-scalafmt 2019-03-22 17:47:48 -04:00
Alexandre Archambault 81341d04c0 Remove unused stuff in build 2019-03-22 15:10:57 +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 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
Eugene Yokota 75c319e6bb make object Disabled extend Disabled
Ref https://github.com/sbt/librarymanagement/pull/280

This is to workaround bincompat error detected by sbt community build.

```
[cats] [error] java.lang.NoSuchMethodError: sbt.librarymanagement.CrossVersion$.Disabled()Lsbt/librarymanagement/Disabled$;
```
2019-01-23 15:06:47 -05:00
Scala steward 2d8e389787 Update paradise to 2.1.1 (#23) 2019-01-13 23:52:53 +01:00
Scala steward c71ec889a6 Update sbt-pgp to 1.1.2 (#19) 2019-01-13 23:51:22 +01:00
Scala steward da203ab116 Update argonaut-shapeless_6.2 to 1.2.0-M9 (#17) 2019-01-12 15:55:44 +01:00
Ethan Atkins 541d4047e6 Bump scala version 2.12.8
I ran a zsh one liner to generate this:
git grep "2.12.7" | cut -d ':' -f1 | sort | uniq | xargs perl -p -i -e "s/2.12.7/2.12.8/"
2019-01-08 11:11:23 -08:00
Eugene Yokota 6001c4e2e6 sbt-assembly 0.14.9 2019-01-02 14:37:29 -05:00
Alexandre Archambault 55f457a6f7 Add DependencyResolutionInterface implementation in lm-coursier
Originally based on https://github.com/sbt/librarymanagement/pull/270
2018-11-20 11:25:16 +01:00
andrea 39493f7869 adding a fatjar release (aka sbt-big) to the build 2018-11-07 08:37:49 +00:00
Alexandre Archambault 3b81a4ad5e Setup sbt-ci-release (WIP) 2018-10-17 14:18:03 +02:00
Eugene Yokota cb92556c7f sbt-scalafmt 0.15 to align with sbt/sbt 2018-10-15 03:10:00 -04:00
Eugene Yokota fa23e785d6 sbt-houserules 0.3.9 2018-10-05 03:03:59 -04:00
Alexandre Archambault 3e05d920a4 Keep only sbt plugins 2018-09-28 18:23:43 +02:00
Alexandre Archambault 49f7654b59
Use scalajs-bundler (#907) 2018-09-26 17:10:22 +02:00
Eugene Yokota 02475c7a66 -Xfatal-warnings 2018-09-21 01:16:55 -04:00
Eugene Yokota 4b23036c63 contraband 0.4.1 2018-09-18 16:56:19 -04:00
Eugene Yokota 3e1dac5161 -Xfatal-warnings in most subprojects 2018-09-18 11:47:55 -04:00
Sean Sullivan 127241f2c6 cleanup plugins.sbt 2018-06-28 05:59:58 -07:00
Alexandre Archambault 8a02ee8f15
Update things (#866) 2018-06-20 16:30:25 +02:00
Eugene Yokota 8ec0e0193e sbt-houserules 0.3.7 2018-06-14 02:51:09 -04:00
Eugene Yokota 6b86d05ce6 sbt-houserules 0.3.7 2018-06-14 02:22:38 -04:00
Eugene Yokota c0a0b7db0c Merge branch '1.1.x' into wip/merge-1.1.x 2018-06-14 01:42:01 -04:00
Eugene Yokota 8409735077 Merge branch '1.1.x' into wip/merge-1.1.x 2018-05-04 12:40:43 -04:00