Fix build issue where test fixtures weren't generated (#327)

Make sure that declaring a dependency on project `pkl-commons-test`
suffices to have its test fixtures generated.

This fix should work reliably.
However, there may be a more idiomatic way to achieve the same result.
This commit is contained in:
translatenix
2024-03-15 22:08:37 -07:00
committed by GitHub
parent 496e064caf
commit 6264f4b631

View File

@@ -24,7 +24,8 @@ dependencies {
*/
val createTestPackages by tasks.registering
tasks.test {
// make sure that declaring a dependency on this project suffices to have test fixtures generated
tasks.processResources {
dependsOn(createTestPackages)
dependsOn(exportCerts)
}