Commit Graph

574 Commits

Author SHA1 Message Date
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 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
Eugene Yokota 02fc0d9d89 Merge branch 'wip/sbt-2.x-merge' into wip/sbt-2.x 2024-05-31 00:21:45 -07:00
Eugene Yokota d42bc8e6e3 util 2.0.0-alpha10 2024-05-30 23:07:12 -07:00
Adrien Piquerez e140c80667 Bump sjson-new 2024-05-28 11:11:44 +02:00
Adrien Piquerez f8ce2cdef6 Update to Scala 3.3 2024-05-23 17:04:38 +02:00
Adrien Piquerez 863004961c Merge remote-tracking branch 'origin/develop' into wip/sbt-2.x 2024-05-23 16:53:23 +02:00
Eugene Yokota 4f108dfc80 Merge branch 'develop' into wip/sbt-2.x-merge 2024-05-13 00:13:46 -04: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 dc460527b4 Util 1.10.0 2024-05-05 17:53:08 -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 6ab6c2baa9 Util 1.10.0-RC1 2024-04-08 22:36:44 -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
Alex Zolotko 3156ac253a Update jsch to 0.2.17 (the com.github.mwiede fork) 2024-03-30 17:30:57 +01: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 369e647008 Fix scala 2 compat with -Xsource:3 and scala-collection-compat 2024-03-05 13:32:15 +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 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
Heikki Vesalainen c07ee8411e JLine 3.24.1 and JAnsi 2.4.0. 2023-11-01 21:25:24 +02:00
Eugene Yokota 13f7bb250b sjsonnew 0.14.0-M1 2023-10-29 14:54:24 -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 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
Matthew de Detrich 47bdf1bcde
Update Scala 2.13 version 2023-09-11 12:02:37 +02:00
Eugene Yokota bee6748f29 Update Ivy and Coursier to latest 2023-08-24 13:04:58 -04:00
Eugene Yokota 824cca75d2 Bump to Ivy 2.3.0-sbt-396a783bba347016e7fe30dacc60d355be607fe2 2023-08-24 10:36:27 -04:00
Eugene Yokota 797b9da93e Zinc 1.9.3 2023-07-23 13:11:45 -04:00
Eugene Yokota 271307d326 Zinc 1.9.2 2023-06-25 23:01:45 -04:00
Eugene Yokota 1dd9c5c0e7 Util 1.9.1 2023-06-25 21:01:05 -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 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
Eugene Yokota b2ecf69b96 util 1.9.0 2023-06-02 01:36:05 -04:00
Eugene Yokota 10a79bc6b0 Update Scala to 2.13.10 2023-06-01 23:24:31 -04:00
Eugene Yokota 1f1ee778e3 Update Scala to 2.12.18
Fixes https://github.com/sbt/sbt/issues/7235
2023-06-01 12:13:40 -04:00
Eugene Yokota 277f6362ac Bump Zinc 2023-05-15 04:09:54 -04:00
Eugene Yokota 30bab993e3 IO 1.9.0-RC3 2023-05-15 01:07:24 -04:00
Eugene Yokota 1f333010a9 lm 1.9.0-M3 2023-05-07 12:40:28 -04:00
Eugene Yokota f98c4fff3b Update modules 2023-04-30 00:56:11 -04:00
Eugene Yokota 7dd69e702b Update to lm-coursier-shaded 2.1.0 2023-04-29 23:10:35 -04:00
Eugene Yokota 5c8826a394 Update to launcher 1.4.2 2023-04-29 22:07:08 -04:00
Eugene Yokota 72af500294 Subsume platform cross building
Problem
-------
In sbt 1, platform cross building is implemented using in the user-land
using `%%%` operator, which clevery handles both Scala cross building
and appending platform suffix like sjs1.
However, in general symbolic `%%%` is confusing, and hard to explain.

Solution
--------
In sbt 2, we should subsume the idea of platform cross building,
so `%%` can act as the current `%%%` operator.
This adds a new setting called `platform`, which defaults to
`Platform.jvm` by default.
When a subprojects sets it to `Platform.sjs1`, `ModuleID`s defined using
`%%` operator will inject the platform suffix `_sjs1` **in addition**
to the Scala binary suffix `_2.13` etc.

Note: Explicit JVM dependencies will now require `.platform(Platform.jvm)`.
2023-03-12 13:38:56 -04:00
Adrien Piquerez ada716fc1f Bump librarymanagement to 1.9.0-M1 2023-02-27 09:42:36 +01:00
Adrien Piquerez d05913f3b9 Bump lm-coursier-shaded to 2.0.16 2023-02-22 10:09:26 +01:00
Eugene Yokota 9219ed6bd4 lm alpha10 2023-01-19 17:48:21 -05:00
Eugene Yokota d2ddd9d7a9 Use scala-xml_3 2023-01-19 04:54:53 -05:00
Eugene Yokota 286467d351 sjson-new 0.13.0 2023-01-19 03:28:17 -05:00
Eugene Yokota d2c2563d8a Use scala-xml_3 instead 2023-01-15 23:50:30 -05:00
Eugene Yokota 28febfb9c8 Downgrade scala-xml to 2.13 2023-01-15 23:50:30 -05:00
Eugene Yokota bd4f7b7b73 sjson-new 0.13.0 2023-01-15 23:50:30 -05:00
Eugene Yokota 9f5525c989 inline parameter removes let binding 2023-01-15 23:50:29 -05:00
Eugene Yokota ceb1ea8aad bump Zinc, which uses current util 2023-01-15 23:50:29 -05:00
Eugene Yokota fbc98ed72e Use ClassTag instead of Manifest 2023-01-15 23:50:29 -05:00
Eugene Yokota a9a8ab6341 Zinc 2.0.0-alpha2 2023-01-15 23:48:51 -05:00
Eugene Yokota cba7a0efc3 Refactor to build mainProj 2023-01-15 23:48:11 -05:00
Eugene Yokota 81a05430bd Split buildfile parsing to a subproject 2023-01-15 23:45:30 -05:00
Eugene Yokota c7fa4937ef Bump to Scala 3.1.3 2023-01-15 23:44:25 -05:00
Eugene Yokota 202cd92f0f Port main-actions 2023-01-15 23:43:19 -05:00
Eugene Yokota 4ff27d7ab7 Port commandProj 2023-01-15 23:43:15 -05:00
Eugene Yokota e879541dc3 Flip to exclude list 2023-01-15 23:40:57 -05:00
Eugene Yokota f2edcff583 sjson-new 0.10.0 2023-01-15 23:40:57 -05:00
Eugene Yokota 50b062b795 Port util-logging 2023-01-15 23:40:57 -05:00
Eugene Yokota 00eba85d98 Cats-like typeclasses 2023-01-15 23:40:56 -05:00
Eugene Yokota 28f0c075ac Fixes M1 support
Fixes https://github.com/sbt/sbt/issues/7117

Problem
-------
sbt no longer works on a Mac with M1 (aarch64) chips because it fails on
ipcsocket library, which we maintain.
This was caused by architecture detection that was added in 1.6.1,
which did not take in account for macOS universal binary.

Solution
--------
Update to ipcsocket 1.6.2.
2023-01-04 15:46:08 -05:00
Eugene Yokota 59be97660c lm-coursier-shaded 2.0.15
Fixes https://github.com/sbt/sbt/issues/7062
2023-01-03 14:00:29 -05:00
Eugene Yokota 6eaad925fb ipcsocket 1.6.1 2022-12-31 16:48:52 -05:00
Eugene Yokota 05fe27226e Zinc 1.8.0, lm 1.8.0 2022-11-10 15:41:52 -05:00
Eugene Yokota adc246ea9a Bump io, util, and scala-xml 2022-11-10 13:45:08 -05:00
Eugene Yokota e55955d918 lm-coursier-shaded 2.0.13 2022-11-10 11:19:57 -05:00
Eugene Yokota adc682c926 Ivy 2.3.0-sbt-a8f9eb5bf09d0539ea3658a2c2d4e09755b5133e 2022-11-10 10:04:52 -05:00
Eugene Yokota 92c6903ec5 Bump lm and zinc 2022-11-06 21:35:26 -05: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 07725bb626 sjson-new 0.11.0 2022-10-19 01:31:12 -04:00
Eugene Yokota 90795c3590 Util 1.7.1 2022-10-02 21:49:45 -04:00
Eugene Yokota a775fb8f1d Launcher 1.4.1
Launcher 1.4.1 is capable of launching Scala 3 apps.
In other words, launchers prior to 1.4.1 are not capable of
launching Scala 3 apps, including tests for sbt 2.x.
2022-10-02 04:07:49 -04:00
Eugene Yokota b00792a3a7 Scala 2.12.17
This bumps up scala-xml to 2.x.
2022-09-17 04:09:52 -04:00
Eugene Yokota b807671ec5 Downgrade scala-xml to _2.13 on Scala 3
Since Coursier doesn't have Scala 3 artifacts yet, downgrade scala-xml
so we can use for3Use2_13.
2022-08-11 23:40:40 -04:00