Commit Graph

1082 Commits

Author SHA1 Message Date
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
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 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 20420b9f75 Use launcher scripted tests 2023-01-15 23:50:27 -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 781c0317f5 Format main 2023-01-15 23:43:19 -05:00
Eugene Yokota 4ff27d7ab7 Port commandProj 2023-01-15 23:43:15 -05:00
Eugene Yokota 7a5533e8fa Contraband 0.5.3 2023-01-15 23:42:03 -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 e55955d918 lm-coursier-shaded 2.0.13 2022-11-10 11:19:57 -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 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 106bc89e06 Update Zinc to 1.7.1 2022-07-11 22:54:42 -04:00
Eugene Yokota fcee055a8c Use sbt 1.7.0 2022-07-10 23:50:06 -04:00
Eugene Yokota 2d27e6deea Update Zinc to 1.7.0 2022-07-10 13:55:14 -04:00
eugene yokota 7dc4378fdf
Merge pull request #6963 from eed3si9n/wip/bump-io
IO 1.7.0
2022-07-10 04:00:28 -04:00
Eugene Yokota 6788c2e1ca IO 1.7.0 2022-07-10 03:40:58 -04:00
xuwei-k 9c8e99c390 remove sbt-whitesource 2022-07-03 14:45:23 +09:00
eugene yokota 7cc6ad3d00
Merge pull request #6939 from eed3si9n/wip/cross-fix
[1.7.x] Filter incompatible Scala 3 projects in cross switch commands, take 2
2022-06-27 00:08:29 -04:00
Rui Gonçalves 705d3d58ce Filter incompatible Scala 3 projects in cross switch commands 2022-06-26 22:46:37 -04:00
Eugene Yokota 0598c9fdc1 ipcsocket 1.5.0
This bumps to ipcsocket 1.5.0, which fixes the temp directory cleanup
bug.
Fixes https://github.com/sbt/sbt/issues/6931
Fixes https://github.com/sbt/sbt/issues/6173
2022-06-26 14:37:12 -04:00
Eugene Yokota 21e5838cfd Build Graal native image using sbt-native-image 2022-06-26 13:25:58 -04:00
Eugene Yokota d5889d3ce3 Bump to Scala 2.12.16 2022-06-13 01:27:24 -04:00
Eugene Yokota c04b2a4f73 lm 1.7.0-M1
This removes OkHttp dependency.
This also removes an experimental feature to customize HTTP for Ivy called
CustomHttp we added in sbt 1.3.0.
Since LM got switched to Coursier in 1.3.0, I don't think we advertized
CustomHttp.
2022-06-13 00:52:32 -04:00
Eugene Yokota 053834aea0 Zinc 1.7.0-M2 2022-04-17 23:26:40 -04:00
Adrien Piquerez 1396e1605d Try fix CI: Build and test (6) 2022-03-08 18:19:20 +01:00
Eugene Yokota 761ad14267 Make License object available
Fixes #1937
Ref https://github.com/sbt/librarymanagement/pull/395
2022-01-31 22:00:54 -05:00
Eugene Yokota d71a1fbdac log4j 2.17.1
Fixes CVE-2021-44832
https://logging.apache.org/log4j/2.x/security.html
2021-12-28 23:07:39 -05:00
Eugene Yokota 0f8ac0f543 Zinc 1.6.0 2021-12-26 01:44:00 -05:00
Eugene Yokota 645cebccac IO 1.6.0 2021-12-26 00:28:09 -05:00
Eugene Yokota 57e1044f5b log4j 2.17.0 2021-12-18 15:05:31 -05:00
Eugene Yokota e56b199300 lm-coursier-shaded 2.0.10 2021-12-17 23:21:26 -05:00
Michal Augustýn 7a2d9981f7 chore(deps): log4j 2.16.0 2021-12-15 02:36:59 -05:00
Eugene Yokota 4a75007862 Update log4j 2021-12-09 23:49:00 -05:00
Eugene Yokota bdccb6cbd5 Zinc 1.6.0-M2 2021-11-29 05:18:00 -05:00
Eugene Yokota db17b5a462 lm-coursier 2.0.9
https://github.com/coursier/sbt-coursier/releases/tag/v2.0.9
https://github.com/coursier/coursier/releases/tag/v2.1.0-M1
2021-11-25 21:32:44 -05:00
xuwei-k 38f5449084 Update build settings for Scala 3 2021-11-16 10:19:26 +09:00
kenji yoshida 1f4517d5cc update hedgehog and scalacheck
prepare Scala 3
2021-11-15 13:13:33 +09:00
xuwei-k aa8b1141f8 Update scalatest 2021-11-14 22:03:59 +09: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
Eugene Yokota f6b993f91b Zinc 1.6.0-M1 2021-09-19 17:34:40 -04:00
Amina Adewusi c013d1180c Bump scala version to 2.12.15 2021-09-17 17:46:07 +01: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 181052fddb launcher 1.3.3
Fixes https://github.com/sbt/sbt/issues/6587
2021-07-11 02:04:48 -04:00
Eugene Yokota eec3c32cc8 sbt 1.5.4 2021-06-13 23:34:18 -04:00
Eugene Yokota 69d0023c45 Zinc 1.5.5 2021-06-13 21:49:21 -04:00
Eugene Yokota 367816ccc1 ipcsocket 1.3.1
Fixes https://github.com/sbt/sbt/issues/6531
2021-06-05 15:34:41 -04:00
Eugene Yokota 2ed0574f95 Use sbt 1.5.3 2021-06-01 00:26:20 -04:00
Eugene Yokota e30bd67275 Update modules 2021-05-31 22:06:59 -04:00
Matthias Kurz 3f7193f91a
Update kind-projector 2021-05-28 18:13:28 +02:00
Matthias Kurz fbfc272171
Scala 2.12.14 / 2.13.6 2021-05-28 18:13:28 +02:00
Adrien Piquerez baf6678f83 Remove forking in Test 2021-05-10 11:52:51 +02:00
Eugene Yokota 3d72b6c660 Zinc 1.5.3 2021-05-09 02:00:01 -04:00
Eugene Yokota 8f80367e3c Use sbt 1.5.1 2021-05-02 23:41:55 -04:00
Eugene Yokota 9cc61015d7 Zinc 1.5.2 2021-05-02 21:56:25 -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 0c61f7560a Launcher 1.3.1 2021-04-25 18:55:27 -04:00
Eugene Yokota b78d111333 Launcher 1.3.0 2021-04-04 02:20:52 -04:00
Eugene Yokota c1c02853b4 Zinc 1.5.0 2021-04-04 01:29:52 -04:00
Eugene Yokota 2709a1e8a3 Scala 2.13.5 2021-04-03 16:02:58 -04:00
Eugene Yokota ba3a808044 IO 1.5.0 2021-04-03 16:01:45 -04:00
Eugene Yokota f5cba5209a Zinc 1.5.0-M5 and lm 1.5.0-M9 2021-03-22 03:47:51 -04:00
Eugene Yokota 79d7832a35 lm-coursier-shaded 2.0.8
Fixes https://github.com/sbt/sbt/issues/6243
This updates the underlying Coursier from 2.0.12 to 2.0.15

https://github.com/coursier/coursier/releases/tag/v2.0.13
- NumberFormatException fix

https://github.com/coursier/coursier/releases/tag/v2.0.15
- Updates directories-jvm to 24
2021-03-21 16:00:31 -04:00