File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/org/gradlex/javamodule/dependencies/tasks Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2828import org .gradlex .javamodule .dependencies .internal .diagnostics .AsciiModuleDependencyReportRenderer ;
2929
3030import javax .inject .Inject ;
31+ import java .util .Collections ;
3132import java .util .Set ;
3233
3334@ NonNullApi
@@ -64,7 +65,7 @@ public void setConfigurations(Set<Configuration> configurations) {
6465
6566 private void configurationsChanged () {
6667 getModulePath ().setFrom ();
67- getModuleArtifacts ().unset ( );
68+ getModuleArtifacts ().set ( Collections . emptyMap () );
6869 for (Configuration conf : getConfigurations ()) {
6970 getModulePath ().from (conf );
7071 getModuleArtifacts ().put (conf .getName (), getProviders ().provider (() -> conf .getIncoming ().getArtifacts ()));
You can’t perform that action at this time.
0 commit comments