Commit Graph

11257 Commits

Author SHA1 Message Date
Filip Zybała 236f419f88 Add condition preventing errors on 3.0.0. Add scripted test for running doc on Scala.js project 2021-05-27 14:56:47 +02:00
Filip Zybała fcab06bd3d Add missing scalac options to scaladoc task configuration 2021-05-07 11:58:18 +02:00
eugene yokota 20395d107c
Merge pull request #6493 from adpi2/fix-6492
Add util-interface to SbtInterfaceLoader
2021-05-03 13:12:16 -04:00
eugene yokota 962db32c33
Merge pull request #6494 from rdesgroppes/remove-trailing-closing-braces
Remove trailing closing braces
2021-05-03 10:56:35 -04:00
Regis Desgroppes b8b10cdaa9 Remove trailing closing braces
Let me apologize for this typo in #6483.
2021-05-03 16:31:37 +02:00
Adrien Piquerez a07bd46cdb Add util-interface to SbtInterfaceLoader 2021-05-03 11:18:12 +02:00
eugene yokota c9e46bea3e
Merge pull request #6491 from eed3si9n/wip/use1.5.1
Use sbt 1.5.1
2021-05-03 01:11:43 -04:00
Eugene Yokota e1c29369c0 Fork mainProj
```
[error] (zincLmIntegrationProj / Test / executeTests) java.lang.LinkageError: loader constraint violation in interface itable initialization for class sbt.internal.inc.ZincComponentCompiler$ZincCompilerBridgeProvider: when selecting method 'xsbti.compile.ScalaInstance xsbti.compile.CompilerBridgeProvider.fetchScalaInstance(java.lang.String, xsbti.Logger)' the class loader sbt.internal.SbtInterfaceLoader @1224144a for super interface xsbti.compile.CompilerBridgeProvider, and the class loader sbt.internal.BottomClassLoader @52daa20b of the selected method's class, sbt.internal.inc.ZincComponentCompiler$ZincCompilerBridgeProvider have different Class objects for the type xsbti.Logger used in the signature (xsbti.compile.CompilerBridgeProvider is in unnamed module of loader sbt.internal.SbtInterfaceLoader @1224144a, parent loader sbt.internal.MetaBuildLoader$1 @6f36c2f0; sbt.internal.inc.ZincComponentCompiler$ZincCompilerBridgeProvider is in unnamed module of loader sbt.internal.BottomClassLoader @52daa20b, parent loader sbt.internal.ReverseLookupClassLoader @39b00393)
```
2021-05-02 23:51:42 -04:00
Eugene Yokota 8f80367e3c Use sbt 1.5.1 2021-05-02 23:41:55 -04:00
eugene yokota e2ae8d1182
Merge pull request #6490 from eed3si9n/wip/bump
Zinc 1.5.2
2021-05-02 23:24:20 -04:00
Eugene Yokota 9cc61015d7 Zinc 1.5.2 2021-05-02 21:56:25 -04:00
eugene yokota 9b6d4b5390
Merge pull request #6488 from eed3si9n/wip/new
Fix new command leaving behind target, take 2
2021-05-02 21:52:44 -04:00
eugene yokota 934c150aae
Merge pull request #6489 from eed3si9n/wip/remove_test
Remove a scripted test that uses Bintray
2021-05-02 21:52:28 -04:00
eugene yokota 2e49170552
Merge pull request #6483 from rdesgroppes/favor-jvm-user-home
sbt script: Favor java's `user.home` over `$HOME`
2021-05-02 21:03:45 -04:00
Eugene Yokota 56c1a0598c Remove a scripted test that uses Bintray 2021-05-02 21:02:23 -04:00
eugene yokota ccca321a0f
Merge pull request #6481 from adpi2/backport-mk-scala-instance
Backport #6480: Expose makeScalaInstance publicly
2021-05-02 20:50:46 -04:00
Eugene Yokota 1c8b55107d Fix new command leaving behind target, take 2
Fixes #2835

Somehow the fix in #4033 due to various initialization.
Here's a bit more aggressive rebasing of the base directory
that should fix the `project` and `target` directory created during sbt
new.
2021-05-02 20:48:10 -04: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
Adrien Piquerez ded074ac75 Expose Defaults.makeScalaInstance 2021-05-01 20:29:42 +02:00
eugene yokota 9a5891a779
Merge pull request #6484 from Nirvikalpa108/fix-dependency-graph-tests
Fixes failing tests
2021-04-30 12:13:54 -04:00
Amina Adewusi b27ea623a5 Fixes failing tests
Tests were failing because of bintray migration. Lightbend forgot
to move dependencies. This fixes it by upgrading to more modern
library dependencies.
2021-04-30 16:37:07 +01:00
eugene yokota 40870d3fa8
Merge pull request #6469 from Nirvikalpa108/improve-documentation 2021-04-26 09:41:45 -04:00
Amina Adewusi 5f16f6aace add additional instructions for new contributors 2021-04-26 08:48:29 +01:00
Eugene Yokota 3ef1c5508b scalafmtSbt 2021-04-25 23:15:16 -04:00
Eugene Yokota 19bce2874c Downgrade to sbt 1.4.9 until mima issue is addressed 2021-04-25 22:59:57 -04:00
Eugene Yokota 00312d7674 name in Windows 2021-04-25 22:58:34 -04:00
Eugene Yokota 6228cee742 Windows package name 2021-04-25 22:51:40 -04:00
Eugene Yokota 43b2f1eb30 sbt 1.5.1 2021-04-25 22:16:01 -04:00
eugene yokota 6581896dd4
Merge pull request #6467 from eed3si9n/wip/bump
Launcher 1.3.1
2021-04-25 19:41:29 -04:00
Eugene Yokota 0c61f7560a Launcher 1.3.1 2021-04-25 18:55:27 -04:00
eugene yokota ace53d81a9
Merge pull request #6464 from eed3si9n/wip/linux2
Fix Debian releasing
2021-04-25 01:27:18 -04:00
Eugene Yokota 8f0d258439 Fix Debian releasing
Add `deb.distribution=all;deb.component=main;deb.architecture=all`
2021-04-25 01:23:15 -04:00
Eugene Yokota 8347a0bb09 Fix Linux package layout 2021-04-24 20:26:18 -04:00
eugene yokota d94eb97def
Merge pull request #6463 from eed3si9n/wip/linux
Remove Bintray from Linux releases
2021-04-24 18:11:27 -04:00
eugene yokota 7089ea08c8
Merge pull request #6462 from eed3si9n/wip/sbt-launch
Support alternative sbt-launch repo
2021-04-24 17:35:23 -04:00
Eugene Yokota c27ccae81e Apparently Lightbend is not migrating https://repo.typesafe.com/typesafe/maven-releases/com/codahale/jerkson_2.9.1/0.5.0/? 2021-04-24 17:33:24 -04:00
Eugene Yokota d7be43c449 Drop sbt-launch.jar from Linux distro 2021-04-24 17:31:02 -04:00
Eugene Yokota 03e83bfb00 Remove Bintray from Linux releases 2021-04-24 15:53:08 -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 068700b11e
Merge pull request #6455 from sbt/dependabot/github_actions/actions/cache-v2.1.5
Bump actions/cache from v2.1.3 to v2.1.5
2021-04-22 08:56:53 -04:00
eugene yokota cb2e228549
Merge pull request #6457 from steinybot/fix/runner-scope
Remove configuration scope from runner settings
2021-04-22 08:56:28 -04:00
dependabot[bot] 2d52c2406f
Bump actions/cache from v2.1.3 to v2.1.5
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.3 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.3...1a9e2138d905efd099035b49d8b7a3888c653ca8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-20 04:34:27 +00:00
eugene yokota fe5497938a
Merge pull request #6458 from eed3si9n/wip/graft
In-source launcher script
2021-04-20 00:33:40 -04:00
Eugene Yokota 89fbc45bed Include LICENSE file 2021-04-20 00:12:39 -04:00
Eugene Yokota abdf89d292 Let Windows know it's bash 2021-04-20 00:07:41 -04:00
Eugene Yokota 30cb1c69d5 Fix packaging 2021-04-20 00:02:28 -04:00
Eugene Yokota 6c1fd5f5b4 Workaround spark test 2021-04-20 00:02:16 -04:00
Eugene Yokota 42464e095f Implement sbt-launch.jar download 2021-04-19 23:43:15 -04:00
Jason Pickens 223ab2b310
Remove configuration scope from runner settings 2021-04-20 15:35:06 +12:00
Eugene Yokota 2523f0f349 Merge branch 'wip/graft' of sbt/sbt-launcher-package into wip/graft 2021-04-19 10:47:09 -04:00