Commit Graph

160 Commits

Author SHA1 Message Date
xuwei-k fd7a910719 update dependencies 2025-09-13 12:14:15 +09:00
Eugene Yokota 39d2342d03 Use sbt 1.11.4 2025-08-04 23:47:29 -04:00
Eugene Yokota 2293bddfef sbt 1.11.3 2025-07-05 15:17:39 -05:00
Eugene Yokota d93e1226e3 ci: Use Central Portal for publishing 2025-06-01 17:53:33 -04:00
Friendseeker 838eee97cd Fix CI 2024-12-26 15:05:00 -08:00
Friendseeker 30c7be8d0d Prepare for sbt 1.10.7 2024-12-19 12:26:37 -08:00
Friendseeker 14d6dc5301
Prepare for sbt 1.10.6 2024-11-04 23:02:45 -08:00
Eugene Yokota 82d834a676 sbt 1.10.5 2024-11-03 18:10:43 -05:00
Friendseeker 28a9f9c920 Prepare for sbt 1.10.5 2024-10-28 11:51:02 -07:00
Friendseeker f6d7f33261 Bump sbt to 1.10.3 2024-10-21 17:06:31 -07:00
friendseeker 6cea06da0b Try workaround sbt.internal.inc.InvalidComponent 2024-10-16 10:57:22 -07:00
Eugene Yokota 70b829ec54 sbt 1.10.0 2024-07-06 16:43:13 -04:00
Eugene Yokota 96f6f61077 sbt 1.9.7 2023-10-23 07:40:58 -04:00
eugene yokota ebcab3e120
Update build.properties 2023-10-06 10:33:04 -04:00
Eugene Yokota de20328029 Let ++ fall back to a bincompat Scala version
Fixes https://github.com/sbt/sbt/issues/7327

**Problem**
In builds with mixed Scala patch versions (like scalameta),
it's possible for a core subproject to be set to the lastest 2.12.x,
but the compiler plugin component is cross published to 2.12.0 etc.
`++ 2.12.0` in this case does not work since sbt 1.7.x onwards requires
the queried Scala version to be listed in `crossScalaVersions`.

**Solution**
This implements sbt 1.6.x-like fallback mechanism,
but instead of using the queried version (e.g. 2.12.0) it will set
the Scala version to one of listed versions that is binary compatible.
2023-07-09 18:31:55 -04:00
Matthias Kurz 01fb8430ba
Use latest sbt 1.9.0 2023-06-04 01:09:29 +02:00
Eugene Yokota 5c8826a394 Update to launcher 1.4.2 2023-04-29 22:07:08 -04:00
Eugene Yokota 39dc13668f lm-coursier-shaded 2.0.12
https://github.com/coursier/sbt-coursier/releases/tag/v2.0.12
2022-10-30 18:25:04 -04:00
Eugene Yokota fcee055a8c Use sbt 1.7.0 2022-07-10 23:50:06 -04:00
Eugene Yokota d5889d3ce3 Bump to Scala 2.12.16 2022-06-13 01:27:24 -04:00
Amina Adewusi 696a19f5d7 Virtualize Sync.sync so it can be cached remotely for resources dir syncing
An alternative to https://github.com/sbt/sbt/pull/6554.
2021-07-31 18:23:30 +01:00
Eugene Yokota eec3c32cc8 sbt 1.5.4 2021-06-13 23:34:18 -04:00
Eugene Yokota 2ed0574f95 Use sbt 1.5.3 2021-06-01 00:26:20 -04:00
Adrien Piquerez baf6678f83 Remove forking in Test 2021-05-10 11:52:51 +02:00
Eugene Yokota 8f80367e3c Use sbt 1.5.1 2021-05-02 23:41:55 -04:00
Eugene Yokota 19bce2874c Downgrade to sbt 1.4.9 until mima issue is addressed 2021-04-25 22:59:57 -04:00
Eugene Yokota 43b2f1eb30 sbt 1.5.1 2021-04-25 22:16:01 -04:00
Eugene Yokota 4a0ebac52a Bump Zinc, LM, and Launcher 2021-03-15 01:34:23 -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
Eugene Yokota dacffb5095 sbt 1.4.6 and some Metals settings 2021-01-10 14:18:22 -05:00
Ethan Atkins 4f0f5cec82 Update sbt version 2020-11-23 09:42:43 -08:00
Ethan Atkins 2b55aa38ae Bump sbt versions 2020-11-04 23:45:59 -05:00
Eugene Yokota 5f5463fe3b use sbt 1.4.0 2020-10-04 23:35:05 -04:00
Ethan Atkins 987853329a Bump sbt version to 1.4.0-RC2 2020-09-24 11:42:52 -07:00
Ethan Atkins 2921dfa005 Bump sbt version 2020-09-07 09:49:43 -07:00
Ethan Atkins c01be0395d Bump sbt build to 1.4.0-M2 2020-08-19 09:26:27 -07:00
Ethan Atkins ba345dd797 Add multi-client ui to server
This commit makes it possible for the sbt server to render the same ui
to multiple clients. The network client ui should look nearly identical
to the console ui except for the log messages about the experimental
client.

The way that it works is that it associates a ui thread with each
terminal. Whenever a command starts or completes, callbacks are invoked
on the various channels to update their ui state. For example, if there
are two clients and one of them runs compile, then the prompt is changed
from AskUser to Running for the terminal that initiated the command
while the other client remains in the AskUser state. Whenever the client
changes uses ui states, the existing thread is terminated if it is
running and a new thread is begun.

The UITask formalizes this process. It is based on the AskUser class
from older versions of sbt. In fact, there is an AskUserTask which is
very similar. It uses jline to read input from the terminal (which could
be a network terminal). When it gets a line, it submits it to the
CommandExchange and exits. Once the next command is run (which may or
may not be the command it submitted), the ui state will be reset.

The debug, info, warn and error commands should work with the multi
client ui. When run, they set the log level globally, not just for the
client that set the level.
2020-06-24 19:40:17 -07:00
Dale Wijnand 8d6ca826f9 Update sbt to 1.3.8 2020-02-15 08:49:53 +00:00
Ethan Atkins c18284948d Bump sbt version 2020-01-18 16:11:37 -08:00
Eugene Yokota d21d698e96 sbt 1.3.6 2019-12-27 01:51:25 -05:00
Ethan Atkins d7a191e277 Bump sbt version 2019-11-30 14:59:44 -08:00
Ethan Atkins a0dc3fc06a Bump sbt dogfood version 2019-09-05 10:20:24 -07:00
Ethan Atkins 34bdc21adc Bump sbt version to 1.3.0-RC5 2019-08-29 16:20:37 -07:00
Ethan Atkins 58ff066b64 Bump sbt to use 1.3.0-RC4 2019-08-20 15:28:08 -07:00
Eugene Yokota 8bd1615e1f use sbt 1.3.0-RC3 2019-07-17 14:53:39 -04:00
Eugene Yokota 44451b9a24 sbt 1.3.0-RC2 2019-06-10 17:36:01 +02:00
Eugene Yokota 2376de63d1 sbt 1.3.0-RC1 2019-05-17 11:23:02 -04:00
Eugene Yokota 668a0379eb sbt 1.3.0-M3 2019-05-03 16:43:52 -04:00
Eugene Yokota 38018eb69f use sbt 1.3.0-M2 2019-03-24 13:32:20 -04:00
Eugene Yokota 1d09a15cb3 sbt 1.2.8 2019-02-23 04:36:06 -05:00