private void addArtifacts(Project project, List<GradleFileBuildOutcome> outcomes) {
Configuration configuration = project.getConfigurations().findByName("archives");
if (configuration != null) {
for (PublishArtifact artifact : configuration.getArtifacts()) {
GradleFileBuildOutcome outcome = artifactTransformer.transform(artifact, project);
outcomes.add(outcome);
}
}
}