Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

whatDependsOn fails with "Expected ';'" #191

Closed
leozilla opened this issue Jun 5, 2020 · 2 comments
Closed

whatDependsOn fails with "Expected ';'" #191

leozilla opened this issue Jun 5, 2020 · 2 comments

Comments

@leozilla
Copy link

leozilla commented Jun 5, 2020

I hope I am not duplicating a known issue here cos I am using sbt 1.3.x

I am trying the whatDependsOn command and it fails with the error output shown below. I tried it both from bash and from the sbt shell.

Versions:
sbt: 1.3.10
plugin version: 0.10.0-RC1

Actual behaviour:

$ sbt "whatDependsOn global.bright test-kit"
[info] Loading global plugins from /home/david/.sbt/1.0/plugins
[info] Loading settings for project eventworld-backend1-build from plugins.sbt ...
[info] Loading project definition from /home/david/work/eventworld/eventworld-backend1/project
[warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings.
[info] Loading settings for project eventworld from build.sbt ...
[info] Resolving key references (49279 settings) ...
[info] Set current project to eventworld (in build file:/home/david/work/eventworld/eventworld-backend1/)
[error] Expected ';'
[error] Expected 'test-kit_2.13'
[error] Expected whitespace character
[error] Expected 'jdbc-utils_2.13'
[error] Expected 'amazon-ses-utils_2.13'
[error] Expected 'amazon-lambda-utils_2.13'
[error] Expected 'eventworld_2.13'
[error] whatDependsOn global.bright test-kit
[error]                                     ^

I also tried running another command before whatDependsOn and I also tried to run sbt dependencyTree "whatDependsOn xxx xxx"

@jatcwang
Copy link
Collaborator

jatcwang commented Jun 7, 2020

What if you try whatDependsOn global.bright test-kit_2.13? :)

@leozilla
Copy link
Author

leozilla commented Jun 7, 2020

Thanks, this worked.

@leozilla leozilla closed this as completed Jun 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants