@@ -116,11 +116,11 @@ public G.CompilationUnit visitCompilationUnit(G.CompilationUnit cu, ExecutionCon
116
116
Set <String > runtimeConfigurations = getTransitiveDependencyConfiguration (gp , SUN_JAXWS_RUNTIME_GROUP , SUN_JAXWS_RUNTIME_ARTIFACT );
117
117
if (runtimeConfigurations .isEmpty ()) {
118
118
if (gp .getConfiguration ("compileOnly" ) != null ) {
119
- g = (G .CompilationUnit ) new org .openrewrite .gradle .AddDependencyVisitor (SUN_JAXWS_RUNTIME_GROUP , SUN_JAXWS_RUNTIME_ARTIFACT , "2.3.x" , null , "compileOnly" , null , null , null )
119
+ g = (G .CompilationUnit ) new org .openrewrite .gradle .AddDependencyVisitor (SUN_JAXWS_RUNTIME_GROUP , SUN_JAXWS_RUNTIME_ARTIFACT , "2.3.x" , null , "compileOnly" , null , null , null , null )
120
120
.visitNonNull (g , ctx );
121
121
}
122
122
if (gp .getConfiguration ("testImplementation" ) != null ) {
123
- g = (G .CompilationUnit ) new org .openrewrite .gradle .AddDependencyVisitor (SUN_JAXWS_RUNTIME_GROUP , SUN_JAXWS_RUNTIME_ARTIFACT , "2.3.x" , null , "testImplementation" , null , null , null )
123
+ g = (G .CompilationUnit ) new org .openrewrite .gradle .AddDependencyVisitor (SUN_JAXWS_RUNTIME_GROUP , SUN_JAXWS_RUNTIME_ARTIFACT , "2.3.x" , null , "testImplementation" , null , null , null , null )
124
124
.visitNonNull (g , ctx );
125
125
}
126
126
} else {
@@ -131,7 +131,7 @@ public G.CompilationUnit visitCompilationUnit(G.CompilationUnit cu, ExecutionCon
131
131
GradleDependencyConfiguration runtimeGdc = gp .getConfiguration (runtimeConfiguration );
132
132
List <GradleDependencyConfiguration > runtimeTransitives = gp .configurationsExtendingFrom (runtimeGdc , true );
133
133
if (apiTransitives .stream ().noneMatch (runtimeTransitives ::contains )) {
134
- g = (G .CompilationUnit ) new org .openrewrite .gradle .AddDependencyVisitor (SUN_JAXWS_RUNTIME_GROUP , SUN_JAXWS_RUNTIME_ARTIFACT , "2.3.x" , null , apiConfiguration , null , null , null )
134
+ g = (G .CompilationUnit ) new org .openrewrite .gradle .AddDependencyVisitor (SUN_JAXWS_RUNTIME_GROUP , SUN_JAXWS_RUNTIME_ARTIFACT , "2.3.x" , null , apiConfiguration , null , null , null , null )
135
135
.visitNonNull (g , ctx );
136
136
}
137
137
}
0 commit comments