void (@NotNull RunConfiguration configuration, @NotNull ArtifactDeploymentSource source) { Artifact artifact = source.getArtifact(); if (artifact != null) { BuildArtifactsBeforeRunTaskProvider.setBuildArtifactBeforeRun(configuration.getProject(), configuration, artifact); } }