Commit Graph

17422 Commits

Author SHA1 Message Date
eugene yokota 81c8dce66f
Merge pull request #7237 from eed3si9n/wip/0.16.2
sbt-giter8-resolver 0.16.2
2023-05-07 02:37:50 -04:00
Eugene Yokota 86ecec8ac3 sbt-giter8-resolver 0.16.2 2023-05-07 01:28:46 -04:00
eugene yokota 0c11ae2ace
Merge pull request #7236 from eed3si9n/wip/new2
Make new more interactive
2023-05-06 23:09:27 -04:00
eugene yokota af23adcbac
Merge pull request #416 from eed3si9n/wip/repro-6745
Reproduce sbt/sbt#6745
2023-05-06 23:07:16 -04:00
Eugene Yokota 8e3655348a Merge branch 'pr/415' into wip/repro-6745 2023-05-06 23:01:46 -04:00
Eugene Yokota d4296d3e91 Reproduce sbt/sbt#6745 2023-05-06 22:52:59 -04:00
Eugene Yokota 51591bde5b Make new more interactive
If the terminal supports ANSI control sequence,
this displays the template list in an interactive way.
The focused template is rendered reversed,
and arrow key can be used to move the focus up/down.
2023-05-06 20:07:47 -04:00
eugene yokota f33198d78d
Merge pull request #460 from scala-steward/update/coursier-2.1.3
Update coursier, ... to 2.1.3
2023-05-05 13:37:13 -04:00
Scala Steward 1c30872c02
Update coursier, ... to 2.1.3 2023-05-05 14:51:12 +00:00
Adriaan Moors 998df8b692 Allow user to suppress eviction errors for a specific library
... even if they would result in an incompatible eviction
based on the assumed version scheme.
2023-05-04 21:04:29 +02:00
Adriaan Moors 87f8089ba8 More readability for processEvictions 2023-05-04 21:04:29 +02:00
Adriaan Moors 2821443c80 Simplify processEvictions by inlining calculateCompatible 2023-05-04 21:04:29 +02:00
eugene yokota 3d1349a37d
Merge pull request #7234 from adpi2/fix-7233
[1.9.x] Fix #7233: copy artifact files of sbt plugin
2023-05-04 12:47:28 -04:00
Adrien Piquerez bb0bb5ce58 Fix #7233
The sbt-reproducible-build fails if  two artifacts point to the same file.

When packaging the artifacts of an sbt plugin,
we copy each files to avoid this issue.
2023-05-04 10:46:21 +02:00
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 0c9db834db
Merge pull request #459 from scala-steward/update/sbt-ci-release-1.5.12
Update sbt-ci-release to 1.5.12
2023-05-03 11:57:44 -04:00
Scala Steward 85a4aeb9b7
Update sbt-ci-release to 1.5.12 2023-05-03 14:00:48 +00: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 58c1ea3e10
Merge pull request #456 from coursier/no-coursier-setup-action-patch-version
Don't specify a patch version of coursier/setup-action
2023-05-01 22:08:09 -04:00
eugene yokota aeedc5ca52
Merge pull request #457 from coursier/exclude-plexus-stuff
Exclude plexus stuff
2023-05-01 22:07:27 -04:00
Scala Steward 4c162df510
Update scala-collection-compat to 2.10.0 (#453) 2023-05-02 01:20:06 +02:00
Alex Archambault 4a862056c2 Add .vscode/ to .gitignore 2023-05-02 01:11:04 +02:00
Alex Archambault 27c5430f28 Exclude all the plexus libraries
These are used by coursier.cache.ArchiveCache, that is unused in
sbt-coursier / lm-coursier
2023-05-02 01:10:09 +02:00
Alexandre Archambault 976266ebea
Don't specify a patch version of coursier/setup-action 2023-05-02 01:05:50 +02: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 c41a4e0d66
Merge pull request #455 from coursier/dependabot/github_actions/coursier/setup-action-1.3.3
Bump coursier/setup-action from 1.3.2 to 1.3.3
2023-05-01 00:21:19 -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
dependabot[bot] a810143b95
Bump coursier/setup-action from 1.3.2 to 1.3.3
Bumps [coursier/setup-action](https://github.com/coursier/setup-action) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/coursier/setup-action/releases)
- [Commits](https://github.com/coursier/setup-action/compare/v1.3.2...v1.3.3)

---
updated-dependencies:
- dependency-name: coursier/setup-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 01:58:00 +00: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 e37518ed83
Merge pull request #454 from eed3si9n/wip/bump
Update coursier to 2.1.2
2023-04-29 21:42:41 -04:00
Eugene Yokota 83b0cb81ba Update coursier to 2.1.2
**Problem**
Coursier bump PR is currently failing due to shading of zstd.

**Solution**
1. Rather than updating the shading rule, this excludes zstd out of the
   transitive since we likely won't need it.
2. Update coursier to 2.1.2.
2023-04-29 19:16:07 -04:00
eugene yokota 0abc01f5cb
Merge pull request #452 from coursier/dependabot/github_actions/coursier/setup-action-1.3.2
Bump coursier/setup-action from 1.3.0 to 1.3.2
2023-04-29 18:42:47 -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
adpi2 b404431de4
Merge pull request #414 from eed3si9n/wip/integrationtest
Deprecate IntegrationTest
2023-04-25 12:07:11 +02: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
Eugene Yokota 7d052bde8f Deprecate IntegrationTest
We plan to remove IntegrationTest configuration.
See https://eed3si9n.com/sbt-drop-custom-config/ for details.
2023-04-24 01:14:49 -04:00
dependabot[bot] 005f2137d1
Bump coursier/setup-action from 1.3.0 to 1.3.2
Bumps [coursier/setup-action](https://github.com/coursier/setup-action) from 1.3.0 to 1.3.2.
- [Release notes](https://github.com/coursier/setup-action/releases)
- [Commits](https://github.com/coursier/setup-action/compare/v1.3.0...v1.3.2)

---
updated-dependencies:
- dependency-name: coursier/setup-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 01:57:16 +00: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