testCompileOnlyDependencyProcessingForMetadataCompilations -> Gradle 5+
This test fails with Gradle 4.9 due to a Gradle bug when Gradle is unable to pick up task dependencies from providers nested into a file collection. That doesn't seem feasible to fix.
This commit is contained in:
+6
-1
@@ -396,7 +396,12 @@ class HierarchicalMppIT : BaseGradleIT() {
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testCompileOnlyDependencyProcessingForMetadataCompilations() = with(Project("hierarchical-mpp-project-dependency")) {
|
||||
fun testCompileOnlyDependencyProcessingForMetadataCompilations() = with(
|
||||
Project(
|
||||
"hierarchical-mpp-project-dependency",
|
||||
GradleVersionRequired.AtLeast("5.0") // Bug in Gradle versions < 5.0: Gradle can't pick build dependencies from nested provider
|
||||
)
|
||||
) {
|
||||
publishThirdPartyLib(withGranularMetadata = true)
|
||||
setupWorkingDir()
|
||||
gradleBuildScript().modify(::transformBuildScriptWithPluginsDsl)
|
||||
|
||||
Reference in New Issue
Block a user