Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.
This repository was archived by the owner on May 23, 2025. It is now read-only.

groovy_test sources must be under src/test/java or src/test/groovy #51

Description

@ruinshe

I met this error message when I add a target without in src/test/groovy folder, because of I may have another folder named src/integration/groovy or even groovytests folder.

I think it may be a too strict constraint for a common language build rule, at least support modifying the groovy source root for the groovy_test targets may help.

My project structure:

.
├── BUILD.bazel
├── WORKSPACE.bazel
└── src
    ├── integration
    │   └── groovy
    │       └── ...
    ├── main
    │   └── kotlin
    │       └── ...
    └── test
        └── groovy
            └── ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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