Commit Graph

1504 Commits

Author SHA1 Message Date
Eugene Yokota bb40e1bc87 Merge branch '1.9.x' into wip/merge-1.9.x 2022-12-31 16:28:47 -05:00
Seth Tisue 49af47b9f8 fix -debug-inc help text 2022-11-30 13:48:09 -06:00
Eugene Yokota 09e06c45f0 sbt 1.8.0 2022-11-10 16:30:41 -05:00
Eugene Yokota f974cd3bab sbt 1.8.0-RC1 2022-11-06 23:25:22 -05:00
Eugene Yokota bbc91a4788 Merge branch '1.7.x' into fport/1.7.x 2022-08-10 21:53:50 -04:00
Eugene Yokota 38125c5347 sbt 1.7.1 2022-07-11 23:43:06 -04:00
Eugene Yokota 79ea2bdaf2 sbtn 1.7.0 2022-07-10 15:43:25 -04:00
Eugene Yokota 4f38bcbd03 sbt 1.7.0 2022-07-10 15:21:21 -04:00
Eugene Yokota d1ea1f27e6 1.7.0-RC2 2022-07-02 19:59:55 -04:00
Eugene Yokota 498493599f 1.7.0-RC1 2022-06-27 04:08:31 -04:00
eugene yokota 2338bea9db
Merge pull request #6839 from sbt/1.7.x
Porting 1.7.x to develop
2022-03-18 12:17:26 -04:00
Takeo Sawada a0e5b553ef launcher: debian package to depend on curl | wget
also give informative error message when neither is available
2022-02-21 17:38:18 +09:00
Eugene Yokota ed022a70ac sbt 1.6.2 2022-01-31 23:25:20 -05:00
Eugene Yokota f5fb537c6d sbt 1.6.1 2022-01-31 16:23:00 -05:00
Amina Adewusi a3610377d4 Remove scalacoption -S-X
Fixes https://github.com/sbt/sbt/issues/6785.
2022-01-21 14:51:11 +00:00
Eugene Yokota 43088834d2 sbt 1.6.0 2021-12-26 13:44:22 -05:00
Eugene Yokota df46c08051 sbt 1.6.0-RC2 2021-12-18 18:11:10 -05:00
Eugene Yokota daa57c4e1c sbt 1.6.0-RC1 2021-11-29 12:49:43 -05:00
Eugene Yokota 7d429c6724 --no-server mode
Fixes #6530
Ref #6101

Problem
-------
Although having sbt server up by default is beneficial to well-tested
platforms like macOS, on less tested setups various native and/or
native-adjacent techniques we use could end up causing instability.

Solution
--------
This adds `--no-server` as a quick way of telling sbt not to start up
the sbt server or create virtual terminal.
2021-11-27 20:20:42 -05:00
Eric Peters 9516e10dbe [#6696] Add shutdownall to sbt runner to shutdown all sbt-launch processes 2021-10-21 10:42:42 -07:00
Eugene Yokota 98a65b124e Bump the builtin_sbt_version to 1.5.5 2021-09-19 20:14:44 -04:00
eugene yokota 5532af17c7
Merge pull request #6629 from er1c/add-sbt-cache-arg
Add --sbt-cache argument and update localCacheDirectory key description
2021-09-19 14:02:34 -04:00
Daniel Darabos 41c4bdfef1 Fix for realpathish /root returning //root. 2021-08-28 15:53:39 +02:00
Eric Peters 4dcae2cb73 Add --sbt-cache argument and update localCacheDirectory key description 2021-08-21 07:35:09 -07:00
Adrien Piquerez 966633aa81 Fix duplicated -Dsbt.script 2021-07-22 09:17:22 +02:00
Adrien Piquerez c9ca2d4afa Use `-Dsbt.script` to start sbt server
In order to start the sbt server we must use the sbt script because
it is the only way to load the .sbtopts and the .jvmopts file properly.

To do so the sbt script can pass a -Dsbt.script prop to the java server.
It is used in the NetworkClient to start the server, and it is replicated
in the BuildServerConnection file (.bsp/sbt.json).
2021-07-12 14:20:17 +02:00
Eugene Yokota eec3c32cc8 sbt 1.5.4 2021-06-13 23:34:18 -04:00
Eugene Yokota 70a50e5c54 sbt 1.5.3 2021-05-31 23:15:07 -04:00
Eugene Yokota 90b938e480 Implement sbtn downloading 2021-05-17 16:50:54 -04:00
Eugene Yokota b50a3ff0fe sbt 1.5.2 2021-05-09 20:26:59 -04:00
eugene yokota e1766d9a3d
Merge pull request #6500 from Nirvikalpa108/correct-client-arg
make -client the same as --client
2021-05-07 14:48:37 -04:00
Amina Adewusi f12b0baef0 make -client the same as --client
The problem was that -client was different from --client, which
makes for a confusing user experience. So, this change makes
them the same and re-names -client to --java-client. The value
of this is that hopefully -client and --client being the same
feels more logical to users.
2021-05-07 16:07:42 +01:00
Regis Desgroppes b8b10cdaa9 Remove trailing closing braces
Let me apologize for this typo in #6483.
2021-05-03 16:31:37 +02:00
Regis Desgroppes 45d59ab259 sbt script: Favor java's `user.home` over `$HOME`
JVM powered applications may be given an alternate home by means of the
`user.home` system property, which is handy for managing caches in CI
(the property may be set by different means, including environment
variables such as `JAVA_TOOL_OPTIONS` or `_JAVA_OPTIONS`).

Alas, this doesn't fully work when the `sbt` script downloads the
launcher jar to `$HOME`.

The present change consists in retrieving the value of this property by
means of a `findProperty` function extracted from the existing
`getPreloaded` one (adapted accordingly).

No java process get spawned here.
2021-05-02 22:32:35 +02:00
Eugene Yokota 43b2f1eb30 sbt 1.5.1 2021-04-25 22:16:01 -04:00
Eugene Yokota eaab122576 Support alternative sbt-launch repo
Problem
-------
Not everyone has direct access to Maven Central.

Solution
--------
Provide an env variable to override the base URL for sbt launcher.
2021-04-22 23:42:46 -04:00
Eugene Yokota 42464e095f Implement sbt-launch.jar download 2021-04-19 23:43:15 -04:00
Adrien Piquerez 56746d5792 Fix unused nowarn in sbt plugins 2021-04-06 15:45:52 +02:00
Adrien Piquerez 09dd3b09f4 Add test for Scala 3 cross-target 2021-04-01 14:00:03 +02:00
Eugene Yokota 2a3a0f5594 Fixes clean not cleaning files added to cleanFiles
Fixes #6395

The current code assumes cleanFiles are only directories. This fixes that.
2021-03-29 00:23:50 -04:00
Josef Vlach 0c7bc71403
Instantiate only test runners needed by current TestDefinitions 2021-03-28 20:58:18 +01:00
Adrien Piquerez 6bfe741052 Add scripted for bspInternalDependencyConfigurations 2021-03-23 16:21:59 +01:00
Eugene Yokota 744a8a076d Try another VirtualFile name 2021-03-06 18:27:49 -05:00
Eugene Yokota 8a2083cb03 Add test for in-memory file 2021-03-06 14:34:23 -05:00
eugene yokota ff6cbf2e1f
Merge pull request #6351 from steinybot/scripted-publish-deps
Publish all plugin dependencies
2021-03-04 23:35:59 -05:00
eugene yokota 5f24664c0d
Merge pull request #6355 from marcospereira/updates/semanticdb-4.4.10
Update semanticdb to version 4.4.10
2021-03-04 20:17:06 -05:00
Marcos Pereira c9941aeabc
Update semanticdb to version 4.4.10 2021-03-04 16:38:00 -05:00
Matthias Kurz de313bbdde
Never set a default for sourcePositionMappers 2021-03-04 22:30:35 +01:00
Jason Pickens 6e0da94d91
Publish all plugin dependencies 2021-03-04 12:09:12 +13:00
eugene yokota 0972b7fa17
Merge pull request #6336 from adpi2/fix-tasty-test
Fix TastyFiles added twice in Test
2021-02-24 13:28:51 -05:00