sbt/launcher-package
MkDev11 bbeeb25422
[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 07:17:24 -05:00
..
bin fix typo 2025-01-02 13:52:51 +09:00
citest avoid deprecated scala.App 2026-01-09 20:10:28 +09:00
integration-test Add regression test for debug options in SBT_OPTS (#8100) 2026-01-06 14:21:03 +02:00
project [2.x] fix: Upgrade launcher-package to sbt 1.10.7 and replace dispatch-http (#8465) 2026-01-11 07:17:24 -05:00
src Fix debug options breaking launcher on Windows 2026-01-06 11:00:25 +02:00
upload Spelling (#8028) 2025-02-04 01:11:28 -05:00
CONTRIBUTING.md move to launcher-package/ 2021-04-19 10:45:29 -04:00
LICENSE ci: Split server-test 2025-08-24 00:17:58 -04:00
NOTICE Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
build.sbt [2.x] fix: Upgrade launcher-package to sbt 1.10.7 and replace dispatch-http (#8465) 2026-01-11 07:17:24 -05:00