Commit Graph

11744 Commits

Author SHA1 Message Date
eugene yokota 602d623def
Merge pull request #7232 from eed3si9n/wip/typo
Fix typo
2023-05-03 22:40:39 -04:00
Eugene Yokota 4c96c087c0 Fix typo 2023-05-03 21:20:16 -04:00
eugene yokota 67d63867b7
Merge pull request #7159 from vedantmgoyal2009/patch-1
Publish to WinGet
2023-05-02 01:32:26 -04:00
Eugene Yokota 26917d7de4 1.9.0-RC1 2023-05-01 01:39:32 -04:00
eugene yokota d8725e245e
Merge pull request #7228 from eed3si9n/wip/new
sbt new, a text-based adventure
2023-05-01 00:27:47 -04:00
Eugene Yokota a033c37d6e sbt new, a text-based adventure
**Problem**
You want to get started with sbt, and you don't know
which template to get started with.

**Solution**
This implements an interactive menu on `sbt new` command
when invoked without an argument to list template candidates.

The first option is `scala/toolkit.local`, which locally creates
an sbt build without calling out to Giter8 (GitHub).
2023-04-30 23:36:06 -04:00
eugene yokota d23649f778
Merge pull request #7227 from yoshinorin/chore/use-sonatypeOssRepos
Use `sonatypeOssRepos` instead of `sonatypeRepo`
2023-04-30 12:51:16 -04:00
yoshinorin e590740467
Use `sonatypeOssRepos` instead of `sonatypeRepo` 2023-05-01 00:11:33 +09:00
eugene yokota 48cacd312e
Merge pull request #7226 from eed3si9n/wip/bump 2023-04-30 11:09:40 -04:00
Eugene Yokota f98c4fff3b Update modules 2023-04-30 00:56:11 -04:00
eugene yokota 2035d9fb30
Merge pull request #7225 from eed3si9n/wip/coursier
Update to lm-coursier-shaded 2.1.0
2023-04-29 23:34:35 -04:00
Eugene Yokota 7dd69e702b Update to lm-coursier-shaded 2.1.0 2023-04-29 23:10:35 -04:00
eugene yokota 6aa29b5d91
Merge pull request #7224 from eed3si9n/wip/launcher
Update to launcher 1.4.2
2023-04-29 22:35:40 -04:00
Eugene Yokota 5c8826a394 Update to launcher 1.4.2 2023-04-29 22:07:08 -04:00
eugene yokota 84f18156bf
Merge pull request #7171 from liang3zy22/sbtusageinfo
Update usage info in sbt for java-home
2023-04-27 16:40:19 -04:00
Liang Yan 80fe184273 Update usage info in sbt for java-home
Signed-off-by: Liang Yan <ckgppl_yan@sina.cn>
2023-04-27 07:53:45 +08:00
eugene yokota df738abbbd
Merge pull request #7215 from dragos/expose/external-hooks-public
Expose RunProfiler to the build
2023-04-25 11:49:28 -04:00
Iulian Dragos 6dfebc689b
Add a key for Zinc listeners.
Expose what the incremental compiler is doing behind the scenes. The RunProfiler interface has been part of Zinc for a while, but this allows the build itself, or an Sbt plugin, to hook their own implementation.

We expose a list of such listeners to avoid plugins stepping on each other and replacing an existing listener.
2023-04-25 12:00:02 +02:00
Iulian Dragos 9301bc2589
Make externalHooks public
This key has been added in 4061dabf4d but it is only available to Sbt itself. Since ExternalHooks is a Java interface, defined in Zinc for a while and fairly stable, I think this should be safe to do.

My main  motivation is to allow installing an InvalidationProfiler from an Sbt plugin, thus gaining access to zinc recompilation decisions. See related PR https://github.com/sbt/zinc/pull/1181
2023-04-18 15:13:09 +03:00
adpi2 e1b0b25418
Merge pull request #7201 from adpi2/sbt-plugin-toggle
[1.9.x] Add `sbtPluginPublishLegacyMavenStyle` to publish to Artifactory
2023-04-12 09:55:13 +02:00
eugene yokota 0078228039
Merge pull request #7213 from adpi2/fix-7210
[1.9.x] Fix cross-publish sbt plugin to Maven
2023-04-11 14:19:01 -04:00
Adrien Piquerez 9e0a728c58 Add sbtPluginPublishLegacyMavenStyle to publish to Artifactory
Artifactory rejects the legacy artifacts of sbt plugin.
It is now possible to publish to Artifactory
by turning `sbtPluginPublishLegacyMavenStyle` off.
2023-04-11 16:56:24 +02:00
Adrien Piquerez 5436ed5ef8 Fix cross-publish sbt plugin to Maven 2023-04-11 11:43:44 +02:00
adpi2 60ea2a5334
Merge pull request #7191 from adpi2/fix-deadlock
[1.9.x] Fix dead lock between `LoggerContext` and `Terminal`
2023-03-28 16:25:36 +02:00
Adrien Piquerez da4ce68142 Fix dead lock between LoggerContext and Terminal 2023-03-28 14:08:15 +02:00
eugene yokota 4a470dcd17
Merge pull request #7148 from armanbilge/feature/release-notes-url
Add `releaseNotesURL` setting
2023-03-07 10:37:46 -05:00
eugene yokota 28d5ba894f
Merge pull request #7169 from mdedetrich/improve-grammer-in-key-description 2023-03-04 09:24:14 -05:00
Matthew de Detrich 714e4175b3
Improve grammar on skip key description 2023-03-04 09:19:17 +01:00
eugene yokota 51da437f22
Merge pull request #7165 from mdedetrich/make-skip-work-on-publish-local
Make skip work on publishLocal
2023-03-03 22:01:28 -05:00
Matthew de Detrich 2a332a56a9
Make skip work on publishLocal 2023-03-03 16:09:44 +01:00
Arman Bilge 414c3a4358 Add test for `apiURL` 2023-02-28 18:08:29 +00:00
Arman Bilge 1a2b2467b4 Add test for `releaseNotesURL` 2023-02-28 18:05:27 +00:00
eugene yokota 894789cd36
Merge pull request #7096 from adpi2/sbt-plugins-maven-path
[1.9.x] Smooth transition to valid Maven pattern of sbt plugins
2023-02-28 11:00:18 -05:00
Arman Bilge ed29e35f41 Bump lm, use release notes key 2023-02-28 06:08:13 +00:00
Vedant c13e05a493
Create winget.yml 2023-02-27 14:57:36 +05:30
Adrien Piquerez ada716fc1f Bump librarymanagement to 1.9.0-M1 2023-02-27 09:42:36 +01:00
Adrien Piquerez d05913f3b9 Bump lm-coursier-shaded to 2.0.16 2023-02-22 10:09:26 +01:00
Adrien Piquerez 8020ec4d7c Smooth transition to valid Maven pattern of sbt plugin
For an sbt plugin, we publish two POM files, the legacy one, and the
new Maven compatible one. The name of the new POM file contains the sbt
cross-version _2.12_1.0. The format of the new POM file is also slightly
different, because we append the sbt cross-version to all artifactIds of
sbt plugins. Hence Maven can resolve the new sbt plugin POM and its
dependencies.

When resolving an sbt plugin, we first try to resolve the new Maven POM
and if it fails we fallback on the legacy one. When parsing the new POM
format, we remove the sbt cross-version from all artifact IDs so that
there is no mismatch between old and new format of dependencies.
2023-02-22 10:09:26 +01:00
Adrien Piquerez 8e64caae8f Add scripted to test the sbt plugin resolution
As of sbt 1.9, we publish deprecated and valid poms. In this test
we check that sbt resolve the valid pom of an sbt plugin and fallback
to the deprecated pom if the valid pom cannot be found.
2023-02-22 10:09:26 +01:00
eugene yokota a326ee19c6
Merge pull request #7154 from mzuehlke/replace_olafurpg-setup-scala
Replace olafurpg/setup-scala with actions/setup-java
2023-02-21 00:08:52 -05:00
Marco Zühlke 8e4e2067fc Replace olafurpg/setup-scala with actions/setup-java
https://github.com/olafurpg/setup-scala/releases/tag/v14 is deprecated and migration to actions/setup-java is encouraged.
That action is already used in `ci.yml`
2023-02-20 21:14:51 +01:00
eugene yokota b5527cb358
Merge pull request #7153 from sbt/dependabot/github_actions/olafurpg/setup-scala-14
Bump olafurpg/setup-scala from 13 to 14
2023-02-20 10:40:54 -05:00
dependabot[bot] f9637e047f
Bump olafurpg/setup-scala from 13 to 14
Bumps [olafurpg/setup-scala](https://github.com/olafurpg/setup-scala) from 13 to 14.
- [Release notes](https://github.com/olafurpg/setup-scala/releases)
- [Commits](https://github.com/olafurpg/setup-scala/compare/v13...v14)

---
updated-dependencies:
- dependency-name: olafurpg/setup-scala
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 04:56:46 +00:00
Arman Bilge 11ea11e382
Fix
Co-authored-by: Marco Zühlke <mzuehlke@gmail.com>
2023-02-12 22:54:19 -08:00
Arman Bilge 3cde7f8e07 Missing comma 2023-02-12 23:27:14 +00:00
Arman Bilge 3ce8008ae7 WIP support for `releaseNotesURL` 2023-02-10 06:19:39 +00:00
adpi2 78f9b318e2
Merge pull request #7142 from adpi2/bsp-java-diags
Fix forwarding Java diagnostics through BSP
2023-02-06 11:06:01 +01:00
Adrien Piquerez ecc4469c3e Test diagnostics from Java 2023-01-27 12:10:32 +01:00
Adrien Piquerez 799adcda2b Some refacto of BuildServerTest
Generate BSP ids automatically
2023-01-27 10:22:23 +01:00
Adrien Piquerez 9b4d5a5a5a Fix reporting Java diagnostics through BSP
Java diagnostics don't have a pointer but we should report them.
Copied implementation from Bloop to translate the position of an
xsbti.Problem to a BSP range.
2023-01-27 10:21:44 +01:00