Commit Graph

1085 Commits

Author SHA1 Message Date
eugene yokota eb5c3cfccf
[2.x] refactor: Remove useCoursier setting (drop Ivy) (#7712)
**Problem**
It's been a while since Coursier has been the default library management engine,
and we don't need to support two.

**Solution**
This removes `useCoursier` setting.
2024-10-02 14:33:54 -04:00
Eugene Yokota 5684a842c3 refactor: Remove sbt 0.13 `in` methods
**Problem**
See https://www.scala-sbt.org/1.x/docs/Migrating-from-sbt-013x.html#Migrating+to+slash+syntax

We should remove `scalacOptions in (Compile, console)` notation. This was deprecated in https://eed3si9n.com/sbt-1.5.0.

**Solution**
This renames `in` to `rescope` for internal usage, and ports the usages to slash.
2024-09-28 19:19:58 -04:00
Eugene Yokota 683bece1c4 Use sbt 1.10.2 2024-09-16 00:53:01 -04:00
Eugene Yokota 3ef3a605c2 Merge branch '1.10.x' into wip/merge-1.10.x 2024-08-18 12:37:24 -04:00
Eugene Yokota c42766a123 Launcher 1.4.3 2024-07-07 17:23:25 -04:00
Eugene Yokota d7a0db2334 Lm 1.10.1 2024-07-07 15:50:55 -04:00
Eugene Yokota c2009716e1 Zinc 1.10.1 2024-07-07 14:22:47 -04:00
Eugene Yokota 70b829ec54 sbt 1.10.0 2024-07-06 16:43:13 -04:00
Eugene Yokota e32618529d Scala 2.13.14 2024-07-06 16:42:53 -04:00
Eugene Yokota a0e4d22a6c sjson-new 0.10.1 2024-07-06 16:24:28 -04:00
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
Matthias Kurz c810383daf
Upgrade sbt plugins to avoid deprecated repo.scala-sbt.org 2024-05-08 11:59:00 +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