Skip to content

Depend on project as a test project? #483

@johanhaleby

Description

@johanhaleby

I have a project that contains shared code that is only used for testing purposes. But how can I tell my other projects to depend on it as a test dependency? Doing something like this will make it a compile-time dependency for a and b:

val testingProject = project { .. } 
val a = project(testingProject) { .. } 
val b = project(testingProject) { .. } 

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions