Commit Graph

506 Commits

Author SHA1 Message Date
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
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 9186f23839 sbt 1.11.6 2025-09-06 18:42:39 -04:00
Eugene Yokota cbecbadd2c [1.x] Building sbtn locally for Aarch64 2025-09-02 01:32:19 -04:00
Eugene Yokota ff328a092d Improve sbtn a bit
1. Remove experimental warning.
2. Buffer the boot log so ANSI output is fixed for JVM client.
3. Remove timestamp.
2025-08-24 03:58:13 -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 d93e1226e3 ci: Use Central Portal for publishing 2025-06-01 17:53:33 -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 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 9d4cc80a80 Shortcut sbtn shutdown
**Problem**
WHen portfile is not found, sbtn will try to start the server
even when the desired command is shutdown.

**Solution**
When the command is just shutdown, don't start the server.
2025-03-05 02:27:46 -05:00
Eugene Yokota 946b54c858 Skip retry on CompileCancelled
**Problem**
When compilation fails, it's retrying 10 times
since Retry now retries on non-IOExceptions.

**Solution**
This adds CompileFailed to excluded exception list.
2025-03-03 22:19:22 -05:00
Eugene Yokota 67265638c6 Implement client-side run
**Problem**
`run` task blocks the server, but during the run the server is just
waiting for the built program to finish.

**Solution**
This implements client-side run where the server creates a sandbox
environment, and sends the information to the client,
and the client forks a new JVM to perform the run.
2025-03-02 20:45:04 -05:00
Eugene Yokota 3529e20279 sbt 1.10.7 2024-12-22 21:26:54 -05:00
Friendseeker 30c7be8d0d Prepare for sbt 1.10.7 2024-12-19 12:26:37 -08:00
friendseeker b49fe9dc97
Add boolean flag isAutoCancel
Address PR feedback from Eugene
2024-11-27 01:30:01 -08:00
Friendseeker 6dba5e4ec0 Bye jansi 2024-11-07 18:46:04 -08:00
Friendseeker 14d6dc5301
Prepare for sbt 1.10.6 2024-11-04 23:02:45 -08:00
friendseeker 801137de31
Revert "Merge pull request #7823 from Friendseeker/musl"
This reverts commit 0c00dbaf4b, reversing
changes made to 91ea2feb64.
2024-10-31 20:43:10 -07:00
Friendseeker 28a9f9c920 Prepare for sbt 1.10.5 2024-10-28 11:51:02 -07:00
Eugene Yokota 5096cc1829 Adjust native image setting 2024-10-28 04:59:21 -04:00
eugene yokota 0c00dbaf4b
Merge pull request #7823 from Friendseeker/musl
[1.x] Static link `musl` during x86 Linux Native Image build
2024-10-24 17:27:09 -04:00
friendseeker 60b451c3d1
Address PR feedback & fix CI 2024-10-24 00:04:29 -07:00
friendseeker d340ff916e
Static Link musl for Linux Native Image build 2024-10-23 01:42:22 -07:00
Friendseeker 0e85726858 Use JNI to replace deprecated Jansi & JNA 2024-10-22 13:05:20 -07:00
Friendseeker f6d7f33261 Bump sbt to 1.10.3 2024-10-21 17:06:31 -07:00
Eugene Yokota 9a6931ad54 Add -march=compatibility 2024-10-19 22:02:40 -04:00
Seth Tisue 00e54404ce
Merge branch '1.10.x' into bump-jline3 2024-10-10 17:21:05 -07:00
Seth Tisue f06b7622be Scala 2.12.20 (was .19) 2024-10-10 12:53:31 -07:00
friendseeker a6daf2d1ea
Remove vscode-sbt-scala from build.sbt 2024-10-05 17:48:41 -07:00
friendseeker b873c2e286
Bump jline3 to 3.27.0
Bump native image options

Try use Github Action to setup GraalVM

Update native image version

Update java version to be in sync with Native Image Plugin

Try anything

Create the dir to place native image

Try again

Remove Graal setup

Believe in couriser?
2024-09-23 23:24:24 -07:00
Eugene Yokota 5e5d007f23 Bump the version number 2024-09-15 15:21:14 -04:00
SlowBrainDude 317e991b87 Using common Scala 2.12 version for the sbtn subproject
The old, hardcoded Scala 2.12 version previously used for the sbtn
project (as a kind of workaround?) was no longer supported by Scala IDE tooling.
But sbtn builds just fine when using the current global setting for the Scala 2.12
version, so this commit removes the hardcoded version.
2024-07-19 23:30:32 +02:00
Eugene Yokota 78a8af3d7f Bump the version number 2023-12-20 10:51:54 -05:00
adpi2 da41144f37
Merge pull request #7350 from dragos/commands-progress
Add a new CommandProgress API.
2023-10-12 09:24:14 +02:00
Martin Duhem 2957f63244 Fix build.sbt formatting 2023-10-11 21:07:41 +02:00
Martin Duhem d27a1a4ebb Add MiMa exclusion
Changing the return type of is fine because this symbol is private and
internal to sbt.
2023-10-11 20:59:19 +02:00
adpi2 807f4dfdd2
Fix build.sbt 2023-10-04 09:50:24 +02:00
adpi2 d53ccda9c4
Merge branch '1.10.x' into commands-progress 2023-10-04 09:49:05 +02:00
eugene yokota 397c7a634a
Merge pull request #7352 from adpi2/bsp-javacoptions
[BSP] Implement `buildTarget/javacOptions`
2023-09-21 13:54:31 -04:00
Eugene Yokota ef8652f93a sbt 1.9.6 2023-09-15 11:57:17 -04:00
Eugene Yokota c532d7e69f sbt 1.9.5 2023-09-14 00:56:37 -04:00
Eugene Yokota cdaae3bfde sbt 1.9.4 2023-08-24 20:55:50 -04:00
Adrien Piquerez 9522b7e4ed add exclusion 2023-08-16 13:11:39 +02:00
Matthias Kurz bd8b11632c
Remove conscriptConfigs task, not used and needed anymore 2023-08-11 21:56:46 +02:00
Iulian Dragos 18353f1ca8
Reviewer's suggestions. 2023-08-11 16:08:11 +02:00
Eugene Yokota e1ffc2af08 sbt 1.9.3 2023-07-24 01:38:07 -04:00
Eugene Yokota 4b0b929838 sbt 1.9.1 2023-06-26 00:13:03 -04:00
Julien Richard-Foy 72bfb3f45a Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
Chris Kipp 05ac9c88d1 deps: bump the default semanticdb version used
This updates semanticdb from 4.5.13 to 4.7.8.
2023-06-12 16:44:20 +02:00