Skip to content

Unable to query the project's dependencies via Gradle #2

Description

@sschuberth

This is an issue with the project's build system (and Scala plugin), not with the project itself. For checking a Gradle project's dependencies I usually execute the dependencies task, but that fails for this project:

$ ./gradlew scanns:dependencies
Parallel execution with configuration on demand is an incubating feature.
Build cache is an incubating feature.
Using local directory build cache for build ':buildSrc' (location = C:\Users\seschube\.gradle\caches\build-cache-1).
:buildSrc:compileJava NO-SOURCE
:buildSrc:compileGroovy UP-TO-DATE
:buildSrc:processResources UP-TO-DATE
:buildSrc:classes UP-TO-DATE
:buildSrc:jar UP-TO-DATE
:buildSrc:assemble UP-TO-DATE
:buildSrc:compileTestJava NO-SOURCE
:buildSrc:compileTestGroovy NO-SOURCE
:buildSrc:processTestResources NO-SOURCE
:buildSrc:testClasses UP-TO-DATE
:buildSrc:test NO-SOURCE
:buildSrc:check UP-TO-DATE
:buildSrc:build UP-TO-DATE

FAILURE: Build failed with an exception.

* What went wrong:
Project 'scanns' is ambiguous in root project 'scanns'. Candidates are: 'scanns_2.10', 'scanns_2.11'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED in 2s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions