diff --git a/source/src/main/groovy/com/kezong/fataar/FlavorArtifact.groovy b/source/src/main/groovy/com/kezong/fataar/FlavorArtifact.groovy index d11c4a25..d01450ae 100755 --- a/source/src/main/groovy/com/kezong/fataar/FlavorArtifact.groovy +++ b/source/src/main/groovy/com/kezong/fataar/FlavorArtifact.groovy @@ -85,7 +85,7 @@ class FlavorArtifact { ) } else { return Class.forName(CLASS_DefaultResolvedArtifact) - .newInstance(identifier, artifactName, artifactIdentifier, taskDependencyContainer, fileFactory, null) + .newInstance(identifier, artifactName, artifactIdentifier, taskDependencyContainer, fileFactory) } } else { TaskDependency taskDependency = createTaskDependency(bundleProvider.get())