Hi is it possible to depend on test sourceset of a...
# gradle
s
Hi is it possible to depend on test sourceset of a module using
TYPESAFE_PROJECT_ACCESSORS
?
this worked:
Copy code
testImplementation(projects.modules.core.dependencyProject.sourceSets.test.get().output)
v
I'd say that falls under the unsafe category and you should not do it. Read here for more information and proper ways: https://docs.gradle.org/current/userguide/userguide_single.html#cross_project_publications
1