Jon Bayle
11/13/2024, 9:58 AMThis suite is the only suite that will automatically have access to the production source’sHow do I do that? I thought it was withdependencies, all other suites must explicitly declare these.implementation
implementation(project()) but later on the same page https://docs.gradle.org/current/userguide/jvm_test_suite_plugin.html#configure_dependencies_of_a_test_suite_to_reference_project_outputs
bullet point #3
Configure a new test suite which adds aIt gives access to thedependency to the suite’s compile and runtime classpaths. This dependency provides access to the project’s outputs as well as any dependencies declared on itsproject()andapiconfigurations.compileOnlyApi
api scope of dependencies only.
Thanks!Vampire
11/13/2024, 10:06 AMfunctionalTestCompileClasspath extend from compileClasspath, so that everything that is in compileClasspath will also be in functionalTestCompileClasspath, or some similar setup.