Commit Graph

12317 Commits

Author SHA1 Message Date
Eugene Yokota 2293bddfef sbt 1.11.3 2025-07-05 15:17:39 -05:00
eugene yokota 0558c56bd1
Merge pull request #8171 from guizmaii/sonaRelease_timeout
[1.x] Allow users to configure the timeout when publishing to the Maven Central repo
2025-07-05 00:58:56 -04:00
Jules Ivanic 8c0010a086
Review: the new configurable request timeout value should be `10.minutes` and should only be used for upload 2025-07-04 16:40:52 +04:00
Jules Ivanic 084ca08f34
Allow users to configure the timeout when publishing to the Maven Central repo 2025-07-02 13:53:50 +04:00
eugene yokota f37aea07b2
Merge pull request #8167 from unkarjedy/1.11.x
fix: do not treat values "1.x" of "pluginCrossBuild/sbtBinaryVersion" as sbt 2 (fixes #8166)
2025-06-19 17:10:22 -04:00
Dmitrii Naumenko c3925c85ef fix: do not treat values "1.x" of "pluginCrossBuild/sbtBinaryVersion" as sbt 2 (fixes #8166)
As a consequence, this fixes artifact name contraction for maven style and thus fixes publishing to Sonatype when a cross-built sbt version is different from 1.0
2025-06-19 14:24:36 +02:00
eugene yokota 2db4b1af0f
Merge pull request #8162 from inglor/1.11.x 2025-06-11 10:22:30 -04:00
Leonidas Spyropoulos 1cd9c1ec64
fix: semanticdb expects Wildcard imports to be in the last position
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2025-06-11 08:57:07 +01:00
Eugene Yokota 0045c34d28 sbt 1.11.2 2025-06-07 16:19:15 -04:00
eugene yokota 48c7700791
Merge pull request #8156 from eed3si9n/wip/sonatype
[1.x] update to lm 1.11.2 and deprecate sonatypeOssSnapshots
2025-06-07 13:36:23 -04:00
Eugene Yokota 009efd6422 update to lm 1.11.2 and deprecate sonatypeOssSnapshots 2025-06-07 03:00:43 -04:00
eugene yokota 76f65707b6
Merge pull request #8152 from eed3si9n/wip/bump-lm-coursier2
[1.x] lm-coursier 2.1.10
2025-06-03 12:05:39 -04:00
Eugene Yokota 575228a639 lm-coursier 2.1.10 2025-06-03 06:41:12 -04:00
Eugene Yokota d004317458 sbt 1.11.1 2025-06-02 00:20:11 -04:00
eugene yokota 6cf1f610de
Merge pull request #8149 from eed3si9n/wip/bump-lm-coursier
[1.x] deps: Update lm-coursier-shaded 2.1.9
2025-06-01 23:37:25 -04:00
Eugene Yokota 3e25bd3e46 deps: Update lm-coursier-shaded 2.1.9 2025-06-01 23:14:58 -04:00
eugene yokota ac397d900c
Merge pull request #8148 from eed3si9n/wip/plugin
fix: Default sbtPluginPublishLegacyMavenStyle to false
2025-06-01 23:09:55 -04:00
Eugene Yokota 2036ce6836 fix: Default sbtPluginPublishLegacyMavenStyle to false
**Problem**
Central Portal no longer supports the legacy sbt plugin layout.

**Solution**
Make the default more friendly by setting sbtPluginPublishLegacyMavenStyle to false.
2025-06-01 22:43:43 -04:00
eugene yokota 019a1dd1f7
Merge pull request #8147 from eed3si9n/wip/publish
[1.x] ci: Use Central Portal for publishing
2025-06-01 18:05:28 -04:00
Eugene Yokota d93e1226e3 ci: Use Central Portal for publishing 2025-06-01 17:53:33 -04:00
eugene yokota a0ed4d9847
Merge pull request #8143 from rtyley/patch-1 2025-05-30 09:31:01 -04:00
Roberto Tyley d97373454f
Add `sonaDeploymentName` to `excludeLintKeys`
sbt added the `sonaDeploymentName` key with https://github.com/sbt/sbt/pull/8126, released with https://github.com/sbt/sbt/releases/tag/v1.11.0 - in use, this seems to be getting lint warnings (as introduced by https://github.com/sbt/sbt/pull/5153):

```
[warn] there's a key that's not used by any other settings/tasks:
[warn]  
[warn] * scala-collection-plus / sonaDeploymentName
[warn]   +- /home/runner/work/scala-collection-plus/scala-collection-plus/build.sbt:3
[warn]  
[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
```

https://github.com/rtyley/scala-collection-plus/actions/runs/15326291872/job/43121748535#step:6:19

...https://github.com/sbt/sbt/pull/5153 does say that "notable exceptions are settings used exclusively by a command" - I _think_ that maybe `sonaDeploymentName` is only used by the commands `sonaRelease` & `sonaUpload`, so it's necessary to add it to `excludeLintKeys`?
2025-05-29 16:18:28 +01:00
Eugene Yokota aaaecfcef6 sbt 1.11.0 2025-05-24 02:38:08 -04:00
eugene yokota a4d078ebf7
Merge pull request #8136 from eed3si9n/wip/bump-lm
[1.x] lm 1.11.0
2025-05-24 02:09:42 -04:00
Eugene Yokota eaf12caaa3 lm 1.11.0 2025-05-24 01:53:48 -04:00
eugene yokota db673a9faf
Merge pull request #8132 from eed3si9n/wip/snapshot2
[1.x] fail on sonaRelease if the version is SNAPSHOT
2025-05-22 12:48:58 -04:00
Eugene Yokota 9e7a0fa136 fail on sonaRelease if the version is SNAPSHOT 2025-05-21 00:26:51 -04:00
eugene yokota 8a7d84aa08
Merge pull request #8130 from eed3si9n/wip/querystring
[1.x] fix: Fix Sonatype publishing
2025-05-18 15:39:24 -04:00
Eugene Yokota 929b0bf525 fix: Fix Sonatype publishing
**Problem**
1. query string wasn't passed in, so sonaRelease wasn't working
2. deployment name should be human readable

**Solution**
This fixes the query string passing by hand-crafting the URL.

This also generates human readable deployment name.
2025-05-18 15:25:27 -04:00
eugene yokota ddff8eb908
Merge pull request #8129 from eed3si9n/wip/post
fix: Fix Central Portal status checking
2025-05-18 14:06:42 -04:00
Eugene Yokota ff6ea5570b fix: Fix Central Portal status checking
**Problem**
It's supposed to be POST but I'm usin g GET, which results in 500.
2025-05-18 12:51:06 -04:00
Eugene Yokota f698b7191b sbt 1.11.0-RC1 2025-05-17 16:07:20 -04:00
eugene yokota df9ed2e310
Merge pull request #8127 from eed3si9n/wip/bump-lm
[1.x] lm 1.11.0-M1
2025-05-17 15:27:38 -04:00
Eugene Yokota 7516b4088a lm 1.11.0-M1 2025-05-17 15:10:45 -04:00
eugene yokota 5a229a168b
Merge pull request #8126 from eed3si9n/wip/sonatype
[1.x] Sonatype Publish Portal support
2025-05-15 23:43:29 -04:00
Eugene Yokota 341cd9cf24 sonaBundle shouldn't aggregate 2025-05-15 22:33:43 -04:00
Eugene Yokota dc235777fe Implement environment variable support 2025-05-15 22:25:28 -04:00
Eugene Yokota d8813bc506 Sonatype Publish Portal support
**Problem**
Sonatype is sunsetting HTTP Rest endpoint OSSRH in June 2025.

**Solution**
This implements a built-in publishing mechanism.
Kudos to David Doyle who has spearheaded Sonatype Central support via sonatype-central-client etc.
2025-05-15 03:27:54 -04:00
eugene yokota 684cb483b3
Merge pull request #8117 from sbt/revert-8109-bsp-compile-status-code
Revert "fix: BSP error status code in more cases"
2025-05-10 21:44:55 -07:00
kenji yoshida 1d7871233b
Revert "fix: BSP error status code in more cases" 2025-05-11 12:59:15 +09:00
eugene yokota 25b30ff36e
Merge pull request #8109 from harpocrates/bsp-compile-status-code
fix: BSP error status code in more cases
2025-05-07 08:01:16 -07:00
Alec Theriault 5d81f2c3d1
fix: BSP error status code in more cases
Ensures that `buildTarget/compile` returns a `StatusCode.Error` instead
of a JSON-RPC error even when the compile error is buried deeper in the
`Incomplete` causes.

Fixes #8104
2025-05-07 06:16:27 -04:00
eugene yokota 978dd5779d
Merge pull request #8087 from eed3si9n/wip/test-quick-bug2
[1.x] fix: Fix incremental test with companion objects
2025-04-01 00:00:25 -04:00
Eugene Yokota 1415b2efa4 fix: Fix incremental test with companion objects [merge-skip]
**Problem**
Incremental test (aka testQuick) has a bug when companion objects
depends on others since at some point it's failing to look up relationship from Zinc analysis.

**Solution**
This fixes the lookup.
2025-03-31 22:44:57 -04:00
OlegYch baa9a919ba Reproduce testQuick + object deps bug [merge-skip]
testQuick after code change doesn't rerun the test.
This was adopted from https://github.com/OlegYch/sbt-testQuick-bug
2025-03-31 21:47:02 -04:00
Eugene Yokota 4d583fa19e Split test-quick test into two [merge-skip] 2025-03-31 21:43:04 -04:00
eugene yokota 876222e7a7
Merge pull request #8081 from eed3si9n/wip/stdout
fix: Avoid printing to stdout
2025-03-25 01:52:12 -04:00
Eugene Yokota af714b8318 fix: Avoid printing to stdout
**Problem**
The runner script prints out "copying runtime jar" etc to stdout.

**Solution**
This removes the log, and moves other logs to stderr.
2025-03-25 01:34:53 -04:00
Eugene Yokota 898d9f66d3 sbt 1.10.11 2025-03-17 01:26:22 -04:00
eugene yokota 4fe6384ce0
Merge pull request #8071 from eed3si9n/wip/windows
[1.x] fix: Fix sbt --client on Windows
2025-03-17 00:46:31 -04:00