Commit Graph

12425 Commits

Author SHA1 Message Date
eugene yokota b352eb1ff6
Merge pull request #8493 from eed3si9n/bport/launcher-package
[1.x] bport: Upgrade launcher-package to sbt 1.10.7
2026-01-11 22:56:33 -05:00
eugene yokota 622add0e61 [2.x] ci: Integrate launcher package (#8485)
**Problem/Solution**
This is a follow up to launcher package migrating to sbt 1.x.
This joins the launcher package into the main build.
2026-01-11 22:30:50 -05:00
Eugene Yokota 5bdb08ea23 ci: Use slash syntax in build.sbt 2026-01-11 21:43:49 -05:00
MkDev11 08469d8b8c [2.x] fix: Upgrade launcher-package to sbt 1.10.7 and replace dispatch-http (#8465)
Fixes #7826

Changes:
- Upgrade sbt version from 0.13.18 to 1.10.7 in launcher-package/project/build.properties
- Remove dead dispatch-http 0.8.10 dependency from plugins.sbt
- Update sbt-native-packager from 1.7.6 to 1.10.4 (com.github.sbt)
- Update sbt-pgp from 2.1.2 to 2.3.1
- Replace all dispatch.classic._ HTTP calls with Java URL.openStream()

The dispatch-http library is dead and doesn't support sbt 1.x. This change
uses standard Java networking APIs for HTTP downloads, eliminating the
dependency on outdated libraries.

All HTTP download operations now use:
- java.net.URL.openConnection()
- InputStream with buffered reading
- Proper resource cleanup with try-finally blocks

- Removes the sbt-export-repo plugin dependency
- Defines exportRepo and exportRepoDirectory settings locally
- Removes ExportRepoPlugin from dist project
- Fixes exportRepo task to not reference itself

* fix: Update PackageSignerPlugin.scala for sbt 1.x compatibility
- Use withExtension instead of copy(extension = ...) for Artifact
- Update Classpaths.publishConfig to use sbt 1.x signature with all required parameters
- Use new slash syntax for scoped keys (pgpSigner / skip instead of skip in pgpSigner)

* fix: Use computed status instead of status key in PackageSignerPlugin

* fix: Use withRevision instead of copy for ModuleID in build.sbt

- Add scala.sys.process._ import for shell command execution (! method)
- Fix resolvers setting to use new slash syntax and proper Option handling
- Fix publish/publishLocal to use {} instead of () to avoid deprecation warning
- Fix Classpaths.publishTask to use variant without delivery key (deprecated since 1.1.1)
- Add scala.sys.process._ import for shell command execution
- Fix publish/publishLocal to use {} instead of ()
- Remove problematic resolvers setting that caused task/setting dependency issues
- Use IvyActions.publish directly instead of deprecated Classpaths.publishTask
- Fix ModuleID.copy to use withRevision
- Fix Artifact.copy to use withExtension
- Use computed status value instead of status key

Build now compiles successfully with sbt 1.10.7.
2026-01-11 21:39:44 -05:00
Eugene Yokota fcb4e0e43c sbt 1.12.0 2026-01-04 21:18:03 -05:00
eugene yokota 6f50a1efca
Merge pull request #8434 from eed3si9n/wip/bump
[1.x] Zinc 1.12.0
2026-01-04 21:04:04 -05:00
Eugene Yokota 0e546f0b35 [1.x] Zinc 1.12.0 2026-01-04 20:50:33 -05:00
eugene yokota 2e8e03eb0e
Merge pull request #8432 from eed3si9n/bport/scala-version
[1.x] Show warnings when scalaVersion is missing
2026-01-04 15:34:43 -05:00
Eugene Yokota 0a15069e83 Show warnings when scalaVersion is missing
**Problem**
There's a disconnect between what is perceived to be the current
Scala version, and what sbt uses internally, and thus what it
chooses to be the default scalaVersion.

**Solution**
This displays a warning if scalaVersion setting is missing.
2026-01-04 15:23:05 -05:00
Eugene Yokota 67e52c3006 sbt 1.12.0-RC1 2025-12-19 23:46:35 -05:00
eugene yokota b926c84c1d
Merge pull request #8425 from eed3si9n/wip/bump-lm
[1.x] Update to lm 1.12.0-M2
2025-12-19 02:45:19 -05:00
Eugene Yokota fb37b9c66b [1.x] Update to lm 1.12.0-M2 2025-12-19 02:02:16 -05:00
eugene yokota b536bc037d
Merge pull request #8359 from eed3si9n/wip/dependency-tree
[1.x] Use internal config for dependency tree (for Provided)
2025-12-19 01:08:44 -05:00
eugene yokota 2fad041c5f
Merge pull request #8424 from eed3si9n/wip/bump-zinc
[1.x] Update to Zinc 1.12.0-M2
2025-12-19 00:47:17 -05:00
Eugene Yokota 7bb5180f9e [1.x] Update to 1.12.0-M2 2025-12-19 00:23:07 -05:00
eugene yokota 03d57c5803
Merge pull request #8413 from sideeffffect/1.11.x-JDK_JAVA_OPTIONS
[1.x] Handle JDK_JAVA_OPTIONS
2025-12-17 18:09:27 -05:00
eugene yokota d3bd93e2f2
Merge pull request #8415 from azdrojowa123/1.12.x-build-target-sources
Return build targets sources from `buildTarget/dependencySources` request
2025-12-14 15:43:13 -05:00
Aleksandra Zdrojowa 14f1839647 return build targets sources from `buildTarget/dependencySources` request #8403 2025-12-14 13:35:25 +01:00
Ondra Pelech 527989ee10 fix 2025-12-12 16:35:00 +01:00
Ondra Pelech d48895df85 Handle JDK_JAVA_OPTIONS 2025-12-12 15:44:25 +01:00
eugene yokota 9d62f5e940
Merge pull request #8407 from xuwei-k/scala-2-12-21
[1.x] Scala 2.12.21
2025-12-09 04:51:32 -05:00
xuwei-k 70960744e7 Scala 2.12.21 2025-12-09 17:28:03 +09:00
eugene yokota c2d0188968
Merge pull request #8406 from eed3si9n/wip/bump-launcher
[1.x] Update to launcher 1.5.2
2025-12-09 00:12:59 -05:00
Eugene Yokota e8e44aab10 launcher 1.5.2 2025-12-08 23:51:39 -05:00
eugene yokota d4ad01e7ba
Merge pull request #8395 from mkurz/upgrade_scala
[1.12.x] Scala 2.13.18
2025-12-01 12:13:08 -05:00
Matthias Kurz 724027f8ad
Scala 2.13.18 2025-12-01 14:50:38 +01:00
eugene yokota 90a209edb5
Merge pull request #8387 from hamzaremmal/i8386
[1.x] do not assume scala3_library to be a jar
2025-11-25 00:25:37 -05:00
Hamza Remmal 531c5d18db
do not assume scala3_library to be a jar 2025-11-24 22:01:33 +01:00
dependabot[bot] ee03e7606e [1.x] Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [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/v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 14:14:23 +09:00
eugene yokota dabfb24023
Merge pull request #8368 from eed3si9n/wip/parser
[1.x] fix: Parse with -Xsource:3
2025-11-15 01:47:15 -05:00
Eugene Yokota 6daa99b2db fix: Parse with -Xsource:3
**Problem**
On IntelliJ the users are getting the hint to upgrade to -Xsource:3
style, however the supported syntax do not parse.

**Solution**
This adds -Xsource:3 to the parser. The metabuild compilation uses
-Xsource:3 since sbt 1.6.0.
2025-11-14 00:51:28 -05:00
Eugene Yokota 1254bd33e5 Use internal config for dependency tree (for Provided)
**Problem**
dependency-tree currently doesn't include Provided configuration,
because technically it isn't part of the Compile configuration,
however, Provided does become part of the Compile classpath during compilation.

**Solution**
This changes the implementation to use the internal configuration,
e.g. CompileInternal, which includes the auxilary configurations.

There's a tradeoff here since it means that we lose the tree view of
the platonic Compile configuration.
2025-11-08 14:33:47 -05:00
eugene yokota c637805538
Merge pull request #8353 from sbt/dependabot/github_actions/1.12.x/coursier/cache-action-7
[1.x] Bump coursier/cache-action from 6 to 7
2025-11-03 17:49:37 -05:00
dependabot[bot] ce117c5584
[1.x] Bump coursier/cache-action from 6 to 7
Bumps [coursier/cache-action](https://github.com/coursier/cache-action) from 6 to 7.
- [Release notes](https://github.com/coursier/cache-action/releases)
- [Commits](https://github.com/coursier/cache-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: coursier/cache-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 19:53:22 +00:00
eugene yokota 272c2d57dc
Merge pull request #8355 from sbt/eed3si9n-patch-1
[1.x] ci: Update checkout references to 1.12.x
2025-11-03 14:51:44 -05:00
eugene yokota 854d76b761
Update checkout references to 1.12.x 2025-11-03 14:11:11 -05:00
eugene yokota aee4229fd0
Merge pull request #8349 from eed3si9n/wip/scala-3.8
[1.x] Add Scala 3.8 REPL support
2025-11-01 21:43:10 -04:00
Eugene Yokota 840b851445 [1.x] Add Scala 3.8 REPL support
**Problem**
Scala 3.8 REPL won't work since they've split the repl artifact into another JAR.

**Solution**
This works around it by creating a yet-another sandbox configuration ScalaReplTool
(similar to ScalaTool and ScalaDocTool) and a separate scalaInstance for
console task, so when Zinc is invoked we'll be able to conjure the right array of JARs.
2025-11-01 21:06:32 -04:00
Eugene Yokota ed7da85ef0 Backport Compiler
Backport scala.internal.Compiler from sbt 2.x so we can merge easier.
2025-11-01 15:16:11 -04:00
eugene yokota 6d62c345aa
Merge pull request #8346 from danicheg/scala-2.13.17
[1.x] Update scala213 to 2.13.17
2025-10-30 12:00:29 -04:00
danicheg e42c54f782 [1.x] Update scala213 to 2.13.17 2025-10-30 11:30:06 +03:00
xuwei-k 49c8306091 Update semanticdbVersion 2025-10-23 16:38:26 +09:00
Eugene Yokota 9d2a5f478b sbt 1.11.7 2025-10-05 14:57:23 -04:00
eugene yokota f9a363e5e1
Merge pull request #8329 from eed3si9n/wip/bump-lm
[1.x] Update to lm 1.11.6
2025-10-05 14:35:02 -04:00
Eugene Yokota 1e6afc58c4 Update to lm 1.11.6 2025-10-05 14:21:40 -04:00
xuwei-k 152fe61ced fix runMain task. support JEP-512 2025-10-04 06:42:16 +09:00
eugene yokota b536847ff0
Merge pull request #8320 from xuwei-k/daemon-exit-fork
[1.x] fix `run/daemon-exit` test
2025-10-03 02:19:08 -04:00
xuwei-k 2a7e70ab6a fix run/daemon-exit test 2025-10-03 14:49:28 +09:00
eugene yokota 618a3c2b53
Merge pull request #8317 from xuwei-k/update-sbt-1-branch
[1.x] update dependencies
2025-10-03 01:17:02 -04:00
eugene yokota aed224f842
Merge pull request #8319 from xuwei-k/fallback-dependencies-inter-project
[1.x] fix `fallback-dependencies-inter-project` test
2025-10-03 01:16:28 -04:00