Commit Graph

17940 Commits

Author SHA1 Message Date
Scala Steward fb19697c57
Update coursier to 2.1.0-M4 (#382) 2022-02-02 01:51:57 +01:00
Scala Steward 9a5eee21c7
Update coursier to 2.1.0-M3-1 (#380) 2022-02-01 09:53:34 +01:00
Eugene Yokota ed022a70ac sbt 1.6.2 2022-01-31 23:25:20 -05:00
eugene yokota 567fd8b60b
Merge pull request #6808 from eed3si9n/wip/lm
[1.6.x] Make License object available
2022-01-31 22:47:04 -05:00
eugene yokota 611b8cf01b
Merge pull request #6807 from eed3si9n/bport/6803
[1.6.x] fix: propagate `InterruptedException` from JLine.readLine
2022-01-31 22:11:10 -05:00
Eugene Yokota 761ad14267 Make License object available
Fixes #1937
Ref https://github.com/sbt/librarymanagement/pull/395
2022-01-31 22:00:54 -05:00
tpetillot 4f9fe2af64 fix: propagate `InterruptedException` from JLine.readLine
Motivation:
Cannot exit from InteractionService.readLine

Modification:
Remove try/catch of InterruptedException mapped to None in JLine.readLine
2022-01-31 21:40:32 -05:00
eugene yokota 50c3cf1082
Merge pull request #6803 from tpetillot/issue-6784-propagate-interrupted-exception-read-line
fix: propagate `InterruptedException` from JLine.readLine
2022-01-31 21:39:09 -05:00
eugene yokota 6798813515
Merge pull request #395 from eed3si9n/wip/licenses
Add predefined list of licenses
2022-01-31 21:23:09 -05:00
Eugene Yokota a071882321 Add predefined list of licenses 2022-01-31 19:22:37 -05:00
Arman Bilge 7a2f81ea05 sonatypeRepos -> sonatypeOssRepos 2022-01-31 23:23:34 +00:00
eugene yokota ca0fd3db8c
Merge pull request #6806 from eed3si9n/wip/test_framework
[1.6.x] Throw when test framework cannot be loaded due to MatchError or NoClassDefFoundError
2022-01-31 17:13:51 -05:00
Eugene Yokota a549e79c1d Throw when test framework cannot be loaded due to MatchError or NoClassDefFoundError
Problem
-------
In some situations like Dotty Community Build, sbt version is
mechanically upgraded on an old commit without humans checking the log.
For reasons we're not completely sure (likely change in ClassLoader
structure) sbt 1.6.x started to fail to load test frameworks during
tests, but since the failure of the test framework loading doesn't fail
the task, this silently succeeded the builds.

Solution
--------
On MatchError and NoClassDefFound Error, rethrow the exception.
Note that ClassNotFoundException is considered ok since we have
predefined test frameworks listed in sbt, which often are not included
in the users' classpath.
2022-01-31 16:37:38 -05:00
Eugene Yokota f5fb537c6d sbt 1.6.1 2022-01-31 16:23:00 -05:00
Scala Steward 0ac5057e8c
Update scalatest to 3.2.11 (#378) 2022-01-31 21:49:59 +01:00
Scala Steward 49a1a415c0
Update utest to 0.7.11 (#377) 2022-01-31 21:49:39 +01:00
Scala Steward 372aca9334
Update scala-library to 2.13.8 (#376) 2022-01-31 21:49:32 +01:00
Eugene Yokota a8f2b1f636 Reformat 2022-01-30 03:08:24 -05:00
Eugene Yokota a4ce8db55b Manually edit Contraband-generated code 2022-01-30 02:55:26 -05:00
Eugene Yokota e9ee8a6cab Scala 3 2022-01-30 02:55:17 -05:00
tpetillot 21e5f2dead fix: propagate `InterruptedException` from JLine.readLine
Motivation:
Cannot exit from InteractionService.readLine

Modification:
Remove try/catch of InterruptedException mapped to None in JLine.readLine
2022-01-26 16:24:23 +01:00
eugene yokota 0518ede298
Merge pull request #6799 from Nirvikalpa108/remove-unimplemented-scalacoption
Remove scalacoption -S-X
2022-01-21 10:28:23 -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 952546f413
Merge pull request #6794 from eed3si9n/wip/fix
Fix test
2022-01-18 00:51:04 -05:00
Eugene Yokota fb64858053 Fix test 2022-01-17 23:44:38 -05:00
eugene yokota a53eb471b3
Merge pull request #6790 from xuwei-k/CI-status-badge
Update CI status badge in README
2022-01-16 23:42:03 -05:00
kenji yoshida 89991eda69
Update CI status badge in README 2022-01-17 13:27:21 +09:00
Arman Bilge c17309a914 Deprecate sonatypeRepo, add sonatypeRepos 2022-01-16 21:43:36 +00:00
Arman Bilge a561f3a901 Add shortcut for s01.oss.sonatype.org to Resolver
Fixes https://github.com/sbt/sbt/issues/6787.
See also: https://central.sonatype.org/news/20210223_new-users-on-s01/
2022-01-16 21:34:54 +00:00
naf ff7384fced Remove deprecated command 2021-12-29 21:17:05 -05:00
eugene yokota a523fa8662
Merge pull request #6766 from eed3si9n/wip/lazyval
Use lazy val
2021-12-28 23:46:25 -05:00
Eugene Yokota 515993498d Use lazy val 2021-12-28 23:45:04 -05:00
eugene yokota 06a09b03dd
Merge pull request #6765 from eed3si9n/wip/log4j
[1.6.x] log4j 2.17.1
2021-12-28 23:40:39 -05:00
Eugene Yokota d71a1fbdac log4j 2.17.1
Fixes CVE-2021-44832
https://logging.apache.org/log4j/2.x/security.html
2021-12-28 23:07:39 -05:00
Eugene Yokota 43088834d2 sbt 1.6.0 2021-12-26 13:44:22 -05:00
eugene yokota d4e8d0e4de
Merge pull request #6762 from eed3si9n/wip/bump
[1.6.0] Zinc 1.6.0
2021-12-26 02:17:39 -05:00
Eugene Yokota 544a935534 Update banner 2021-12-26 01:48:14 -05:00
gontard 990fa9530f Ensure sbtConfig argv does not need sbt in PATH
Before, the BSP config .bsp/sbt.json generated by `sbt bspConfig`
contained a command line which required the sbt binary in the PATH.
This fix changes the nature of the -Dsbt.script option. It was
an argument of the main class xsbt.boot.Boot, it's now a system
property and thus it's used to launch the sbt server.

Fixes https://github.com/sbt/sbt/issues/6760
2021-12-26 01:47:21 -05:00
Eugene Yokota 0f8ac0f543 Zinc 1.6.0 2021-12-26 01:44:00 -05:00
Eugene Yokota 31db59c825 IO 1.6.0, Util 1.6.0 2021-12-26 01:08:49 -05:00
Eugene Yokota 645cebccac IO 1.6.0 2021-12-26 00:28:09 -05:00
eugene yokota 45aa8cb75c
Merge pull request #6761 from gontard/fixBspConfig
Ensure sbtConfig argv does not need sbt in the path
2021-12-25 14:48:57 -05:00
gontard 780665a60c Ensure sbtConfig argv does not need sbt in PATH
Before, the BSP config .bsp/sbt.json generated by `sbt bspConfig`
contained a command line which required the sbt binary in the PATH.
This fix changes the nature of the -Dsbt.script option. It was
an argument of the main class xsbt.boot.Boot, it's now a system
property and thus it's used to launch the sbt server.

Fixes https://github.com/sbt/sbt/issues/6760
2021-12-24 16:25:58 +01:00
eugene yokota a52e34a2b0
Merge pull request #391 from peter-janssen/maven-repo-local-property
Respect maven.repo.local property
2021-12-23 10:53:18 -05:00
Peter Janssen f89ba48906 Respect maven.repo.local property 2021-12-23 16:38:52 +01:00
eugene yokota 450c87f576
Merge pull request #6726 from Nirvikalpa108/remove-log4j
Removes deprecated log4j
2021-12-20 01:09:02 -05:00
Eugene Yokota df46c08051 sbt 1.6.0-RC2 2021-12-18 18:11:10 -05:00
eugene yokota 4307352f87
Merge pull request #6756 from eed3si9n/wip/log4j2.17.0
[1.6.x] log4j 2.17.0
2021-12-18 15:53:19 -05:00
Eugene Yokota 57e1044f5b log4j 2.17.0 2021-12-18 15:05:31 -05:00
eugene yokota 7d247ddc6a
Merge pull request #6754 from sbt/1.6.x
Merge 1.6.x
2021-12-18 02:15:33 -05:00