Allow tests to see compileOnly dependencies.

This commit is contained in:
Jeremy Wood 2023-08-24 13:50:04 -04:00
parent bae909a9e8
commit 31f4f20bd8
No known key found for this signature in database
GPG Key ID: C5BAD04C77B91B4B

View File

@ -95,6 +95,9 @@ configurations {
it.outgoing.artifact(shadowJar)
}
testCompileOnly.extendsFrom compileOnly
testRuntimeOnly.extendsFrom testCompileOnly
shadowed.extendsFrom compileOnly {
canBeResolved = true
}