File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/org/gradlex/javamodule/moduleinfo Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 4141import org .gradle .api .tasks .SourceSetContainer ;
4242import org .gradle .util .GradleVersion ;
4343import org .gradlex .javamodule .moduleinfo .tasks .ModuleDescriptorRecommendation ;
44- import org .jetbrains .annotations .Nullable ;
4544
4645import java .io .File ;
4746import java .util .*;
@@ -77,7 +76,7 @@ private void configureModuleDescriptorTasks(Project project) {
7776 project .getExtensions ().getByType (SourceSetContainer .class ).all (sourceSet -> {
7877 String name = sourceSet .getTaskName ("" , "moduleDescriptorRecommendations" );
7978 project .getTasks ().register (name , ModuleDescriptorRecommendation .class , task -> {
80- Transformer <@ Nullable List <File >, Configuration > artifactsTransformer = configuration -> {
79+ Transformer <List <File >, Configuration > artifactsTransformer = configuration -> {
8180 //noinspection CodeBlock2Expr
8281 return configuration .getIncoming ()
8382 .getArtifacts ()
@@ -88,7 +87,7 @@ private void configureModuleDescriptorTasks(Project project) {
8887 .collect (Collectors .toList ());
8988 };
9089
91- Transformer <@ Nullable List <ResolvedComponentResult >, Configuration > componentsTransformer = configuration -> {
90+ Transformer <List <ResolvedComponentResult >, Configuration > componentsTransformer = configuration -> {
9291 Set <ComponentIdentifier > artifacts = configuration .getIncoming ()
9392 .getArtifacts ()
9493 .getArtifacts ()
You can’t perform that action at this time.
0 commit comments