mirror of
https://github.com/apple/pkl.git
synced 2026-03-17 23:03:54 +01:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user