Commit Graph

1074 Commits

Author SHA1 Message Date
Eugene Yokota 4752e180fd Update lm 2024-06-09 17:56:17 -04:00
Adrien Piquerez 1034fb1859 Bump versions 2024-06-06 10:36:29 +02:00
Eugene Yokota c81d269ed2 Merge branch '1.10.x' into wip/merge-1.10.x 2024-05-07 04:39:25 -04:00
Eugene Yokota b8bb5e33fb Zinc 1.10.0 2024-05-05 20:11:32 -04:00
Eugene Yokota 7529eefda6 IO 1.10.0 2024-05-05 17:21:40 -04:00
mazugrin 4d8bff40dc Update jansi dep to match the one that's included in the jline dep, which also allows sbt to work on ARM64 Windows without needing to specify -Djline.terminal=jline.UnsupportedTerminal 2024-04-18 12:54:31 -04:00
Eugene Yokota b1a43f9adc Consistent Analysis
See also https://github.com/sbt/zinc/pull/1326

This adds a new setting `enableConsistentCompileAnalysis`,
which enables the new "Consistent" Analysis format,
which is faster and more repeatable than the status quo.
This is initialized to `true` by default.
It can be opted out either by the setting or using
`-Dsbt.analysis2024=false`.
2024-04-14 23:17:04 -04:00
Eugene Yokota 86cf7c3a0c Remote caching support
This implements Bazel-compat remote caching support via a plugin.
2024-04-11 13:55:29 +02:00
Eugene Yokota f804c28417 Zinc 1.10.0-RC1 2024-04-08 23:07:57 -04:00
eugene yokota ec02bf3dc2
Merge pull request #7480 from lrytz/lib-unfreeze-m
Add support for SIP-51 (unfreezing the Scala library)
2024-04-08 01:10:05 -04:00
Adrien Piquerez 52fd2b4427 mute unused nowarn 2024-04-02 17:49:12 +02:00
Eugene Yokota 167b8ef677 Zinc 2.0.0-alpha12 2024-03-17 04:27:23 -04:00
Eugene Yokota 5a5251064f Zinc 2.0.0-alpha11 2024-03-17 03:14:44 -04:00
Seth Tisue 735214afd0 Scala 2.12.19 (was 2.12.18), scala-xml 2.2.0 (was 2.1.0) 2024-03-16 11:39:55 +01:00
Jakub Kozłowski 4507135564
Update lm-coursier-shaded: 2.1.3 -> 2.1.4 2024-03-15 14:36:38 +01:00
Adrien Piquerez c6176342fb Remove dep to zinc-compile 2024-03-06 13:59:33 +01:00
Adrien Piquerez 12e9267e1e Remove more unused 2024-03-05 15:25:25 +01:00
Adrien Piquerez 369e647008 Fix scala 2 compat with -Xsource:3 and scala-collection-compat 2024-03-05 13:32:15 +01:00
Adrien Piquerez 0458e8063d Adapt -Wunused 2024-03-05 11:23:00 +01:00
Adrien Piquerez 95a82adffc Activate -Xfatal-warnings 2024-03-05 10:41:07 +01:00
Lukas Rytz 447c2ba5e5 update zinc and sbt-coursier dependencies 2024-02-27 10:56:30 +01:00
Hagai Ovadia 0f4be2405e upgrade lm-coursier-shaded tp 2.1.3 2024-02-18 16:00:22 +02:00
Adrien Piquerez ac191ddc5c Update eval for Scala 3.3.1 2024-02-13 10:37:07 +01:00
Eugene Yokota 63ba90d198 Migrate postfix ops
**Problem**
There are a few places in the code that's using postfix ops.

**Solution**
This rewrites the expressions to use normal dot notaiton.
2024-02-07 11:40:45 -05:00
eugene yokota ecca26175e
[sbt 2.x] remote cache (#7464)
For the details about this PR, please see the blog post https://eed3si9n.com/sbt-remote-cache/.

* Add cache basics
* Refactor Attributed to use StringAttributeMap, which is Map[StringAttributeKey, String]
* Implement disk cache
* Rename Package to Pkg
* Virtualize packageBin
* Use HashedVirtualFileRef for packageBin
* Virtualize compile task
2024-02-07 10:34:06 -05:00
Eugene Yokota e5e3d2832a Zinc 1.10.0-M2 2023-12-09 05:45:03 -05:00
Eugene Yokota 7c31c2bd6c Update to Zinc 1.10.0-M1 2023-11-27 03:19:36 -05:00
Eugene Yokota 8098702a1a Update to Zinc 2.0.0-alpha8 2023-11-26 21:35:52 -05:00
Eugene Yokota c838c492b1 Update to librarymanagement-coursier 2.0.0-alpha7 2023-11-25 21:16:17 -05:00
Eugene Yokota 08966370b1 Update to lm 2.0.0-alpha13 for sjson-new 2023-11-25 21:01:04 -05:00
Eugene Yokota dd2dd44de3 Update to lm 2.0.0-alpha12 2023-11-25 21:00:42 -05:00
Eugene Yokota f8f8db9e58 Update to Scala 3.3.1 2023-11-25 15:50:50 -05:00
Eugene Yokota c63aa64206 sbt 1.9.7 2023-11-25 01:06:00 -05:00
Adrien Piquerez bc3acd3bff Bump sbt-scalafmt to solve classpath corruption 2023-11-14 11:42:51 +01:00
Heikki Vesalainen c07ee8411e JLine 3.24.1 and JAnsi 2.4.0. 2023-11-01 21:25:24 +02:00
Eugene Yokota 96f6f61077 sbt 1.9.7 2023-10-23 07:40:58 -04:00
Regis Kuckaertz 85b18fa548
Update Coursier to 2.1.7 (#7392)
---------

Co-authored-by: eugene yokota <eed3si9n@gmail.com>
2023-10-21 23:53:38 -04:00
eugene yokota ebcab3e120
Update build.properties 2023-10-06 10:33:04 -04:00
Eugene Yokota 4701bf7677 Zinc 1.9.5 2023-09-15 10:35:54 -04:00
Eugene Yokota c551c0fbcd Zinc 1.9.4 2023-09-13 23:29:11 -04:00
Eugene Yokota bee6748f29 Update Ivy and Coursier to latest 2023-08-24 13:04:58 -04:00
Matthias Kurz bd8b11632c
Remove conscriptConfigs task, not used and needed anymore 2023-08-11 21:56:46 +02:00
Eugene Yokota 797b9da93e Zinc 1.9.3 2023-07-23 13:11:45 -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
Eugene Yokota 271307d326 Zinc 1.9.2 2023-06-25 23:01:45 -04:00
Eugene Yokota 24066d6c5b IO 1.9.1 2023-06-25 19:23:34 -04:00
Eugene Yokota 41b8a92b40 Zinc 1.9.1 2023-06-18 14:22:02 -04:00
Matthias Kurz 01fb8430ba
Use latest sbt 1.9.0 2023-06-04 01:09:29 +02:00
Matthias Kurz ebbf0617a2
Update Scala to 2.13.11 2023-06-03 22:27:45 +02:00
Eugene Yokota 5484ea7a9a Zinc 1.9.0 2023-06-02 04:15:11 -04:00