Commit Graph

17314 Commits

Author SHA1 Message Date
dependabot[bot] 2cdbad35e1
[2.x] Bump actions/setup-java from 4 to 5
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4 to 5.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-22 21:08:35 +00:00
eugene yokota 27edd30407
Merge pull request #8227 from eed3si9n/wip/clean
Add clean.yml
2025-08-22 23:04:33 +02:00
Eugene Yokota 2eead75958 Add clean.yml 2025-08-22 16:59:23 -04:00
Eugene Yokota 724b8cebef scala-library 3.8.0 support
**Problem**
Scala 3.8.0 nightly and later in-sources the scala-library for the use by Scala 3, as opposed to using Scala-2.13-bound standard library.
This means that we will run into situations where scala-library should NOT align with scala-reflect, which might exist transitively.

**Solution**
Adjust the csrSameVersions rule for Scala 3.8 so it will only try to keep scala-library and scala3-library versions aligned.
2025-08-22 16:42:21 -04:00
eugene yokota 69adcb80de
Merge pull request #8221 from eed3si9n/wip/nowarn 2025-08-21 13:21:20 +02:00
eugene yokota fb56956fa3
Merge pull request #8223 from eed3si9n/wip/syncfiles
[2.x] fix: Workaround syncFile issue
2025-08-21 08:29:55 +02:00
Eugene Yokota 353ee59cdb fix: Workaround syncFile issue
**Problem**
We get non-deterministic NoSuchFileException.

**Solution**
Catch the exception.
2025-08-21 08:13:49 +02:00
Eugene Yokota 0c9408d312 fix: Fix sbt 1.x cross building
**Problem**
Under -Xlint, sbt 1.x complains that nowarn isn't doing anything.

**Solution**
Bring back Wconf for sbt 1.x cross building.
2025-08-21 07:19:12 +02:00
Eugene Yokota 1de603fb2f Revert "fix: Remove -Wconf:cat=unused-nowarn:s"
This reverts commit 56e83977e9.
2025-08-21 06:45:59 +02:00
JeanMarc van Leerdam da9dc644ee Include artifact name in Sona deployment 2025-08-20 08:41:06 +02:00
eugene yokota c4e4a6dbb5
Merge pull request #8216 from sbt/dependabot/github_actions/develop/actions/checkout-5 2025-08-18 03:18:42 -04:00
dependabot[bot] ac49c80a31
[2.x] Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 06:20:51 +00:00
eugene yokota b172226430
Merge pull request #8215 from sbt/unused-nowarn-Load 2025-08-17 12:09:40 -04:00
kenji yoshida 8db5c7dbfa
remove `-Wconf:cat=unused-nowarn:s` in Load.scala 2025-08-17 19:13:03 +09:00
eugene yokota 7e5cc80099
Merge pull request #8214 from xuwei-k/remove-scala-2-reflect 2025-08-16 21:40:20 -04:00
xuwei-k 478f501395 remove scala-reflect dependency 2025-08-17 08:23:34 +09:00
eugene yokota 3f5b44acbb
Merge pull request #8213 from eed3si9n/wip/banner
[2.x] Banner
2025-08-16 17:51:19 -04:00
Eugene Yokota 3ce9c962c8 Banner 2025-08-16 17:19:56 -04:00
eugene yokota a40fd7e7dd
Merge pull request #8211 from eed3si9n/wip/reload
[2.x] Auto reload by default
2025-08-16 16:23:40 -04:00
Eugene Yokota cad02c05e0 Comment out reload test 2025-08-16 14:53:05 -04:00
Eugene Yokota 2e99220c1a Auto reload by default 2025-08-16 02:24:58 -04:00
eugene yokota 10df886cad
Merge pull request #8210 from eed3si9n/wip/transient
[2.x] Use scala.transient to denote the empty cache level
2025-08-16 01:54:24 -04:00
Eugene Yokota 43382095ef Use scala.transient to denote the empty cache level 2025-08-16 01:27:14 -04:00
eugene yokota 9b035c9979
Merge pull request #8209 from eed3si9n/wip/bump-sjson-new
[2.x] Bump to sjson-new 0.14.0-M4
2025-08-15 22:57:06 -04:00
Eugene Yokota be5152dbfb sjson-new 0.14.0-M4 2025-08-15 22:12:06 -04:00
Eugene Yokota 44097ec127 Add plugins test 2025-08-15 22:09:29 -04:00
xuwei-k 1a1ddb1373 update ResolverFunctions#reorganizeAppResolvers comment 2025-08-15 19:30:29 +09:00
eugene yokota 16269ba88e
Merge pull request #8205 from Duhemm/mduhem/build-sbt-annotations
Support annotated definitions in build.sbt
2025-08-11 13:17:10 -04:00
eugene yokota ab60408edd
Merge pull request #8206 from xuwei-k/mima-sbt-2
[2.x] Update mima setting
2025-08-11 12:56:55 -04:00
xuwei-k ae499c2030 Update mima setting 2025-08-11 19:44:28 +09:00
Martin Duhem da0fa5388e
Support annotated definitions in build.sbt
Previously, sbt would fail to load build.sbt files when they included
annotated definitions because the parser would not correctly recognize
those definitions as such. In sbt 1.x, this used to be fine, because
there was little use for annotations in build.sbt.

Starting with sbt 2, whether caching should be enabled for a task key
can be controlled via annotations on the task key definition. Because
these can appear in build.sbt, support for annotations in build.sbt
becomes more important.

This patch enhances parsing of build.sbt by keeping the parsed trees
around so that the AST can be used to determine whether a given line
represents a setting or a definition, rather than relying on string
matching.
2025-08-11 10:33:22 +02:00
eugene yokota c565b5a82b
Merge pull request #8202 from eed3si9n/wip/partial
[2.x] bport: Handle partialVersion("2")
2025-08-10 20:03:15 -04:00
Eugene Yokota 827efb6ee6 bport: Handle partialVersion("2")
https://github.com/sbt/librarymanagement/pull/528
2025-08-10 19:50:18 -04:00
eugene yokota 95b4ea386f
Merge pull request #8201 from eed3si9n/wip/uri
[2.x] fix: Change URL usage to URI
2025-08-10 19:10:30 -04:00
Eugene Yokota 3581b4a05b fix: Change URL usage to URI 2025-08-10 18:32:04 -04:00
eugene yokota 1b056e71d7
Merge pull request #8200 from eed3si9n/wip/fix-reload
[2.x] fix: Fixes reload
2025-08-10 11:49:05 -04:00
Eugene Yokota 5df3843410 fix: Fixes reload
**Problem**
Plugins go missing after reload.

**Solution**
We need to stop caching the classpaths apparently.
2025-08-10 04:58:53 -04:00
eugene yokota d7d2a6f0d4
Merge pull request #8199 from eed3si9n/wip/dependency-tree
[2.x] refactor: Unify to dependencyTree
2025-08-10 01:24:05 -04:00
Eugene Yokota (eed3si9n) 61fe604519 refactor: Unify to dependency-tree
**Problem**
While sbt-dependency-graph is useful, not just for the basic ASCII graph,
but for DOT file generation etc, it adds a large number of settings and
tasks for combination of formats and actions to the point that
we actually disable most of them by default.

**Solution*
I've had an idea for a while that dependencyTree can be implemented
as a inputTask that accepts its own subcommands and options,
and this implements that.

For example, to open the browser that hosts a DOT file, now you can write
    dependencyTree dot --browse
2025-08-10 00:37:16 -04:00
eugene yokota d6ce0bf314
Merge pull request #8197 from eed3si9n/wip/merge-1.11.x
[2.x] Merge 1.11.x branch
2025-08-09 14:49:29 -04:00
Eugene Yokota ed0b16375d Update test 2025-08-09 13:58:35 -04:00
Eugene Yokota 7d00a2c51d Merge branch '1.11.x' into wip/merge-1.11.x 2025-08-09 13:47:36 -04:00
eugene yokota 09b9a97437
Merge pull request #8196 from eed3si9n/wip/hide-ivy
[2.x] refactor: Hide Ivy-related classes
2025-08-09 02:29:48 -04:00
Eugene Yokota 9e37218dcf refactor: Hide Ivy-related classes
Move Ivy-related classes to internal.
Promote IvyPaths and Credentials to core.
2025-08-09 01:52:45 -04:00
eugene yokota a4ac406186
Merge pull request #8185 from eed3si9n/wip/sync-lm
[2.x] Forward port some changes from lm
2025-08-08 03:53:53 -04:00
eugene yokota 0673821f57
Merge pull request #8193 from eed3si9n/wip/fork-parallel
[2.x] Flip testForkedParallel to true
2025-08-08 02:40:22 -04:00
Eugene Yokota 42010a317e Flip testForkedParallel to true 2025-08-08 02:06:36 -04:00
eugene yokota 424d0eb50d
Merge pull request #8191 from unkarjedy/1.11.x
[sonatype publishing] print deployment validation errors if present
2025-08-05 00:21:45 -04:00
eugene yokota bb739bafa1
Merge branch '1.11.x' into 1.11.x 2025-08-05 00:09:13 -04:00
eugene yokota 5614d0161d
Merge pull request #8192 from eed3si9n/wip/bump-sbt
[1.x] Use sbt 1.11.4
2025-08-05 00:08:56 -04:00