kobalt icon indicating copy to clipboard operation
kobalt copied to clipboard

Depend on project as a test project?

Open johanhaleby opened this issue 7 years ago • 1 comments
trafficstars

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) { .. } 

johanhaleby avatar Sep 07 '18 12:09 johanhaleby

This is not currently supported. If you depend on a project, this project's dependencies will be automatically added to your current project.

Going to tag this as a feature request.

cbeust avatar Sep 07 '18 18:09 cbeust