File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
buildSrc/src/main/java/org/springframework/gradle/maven Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,11 +58,11 @@ public Boolean call() throws Exception {
58
58
} else {
59
59
signing .useInMemoryPgpKeys (signingKey , signingPassword );
60
60
}
61
- project .getPlugins ().withType (PublishingPlugin .class ).all (new Action <PublishingPlugin >() {
61
+ project .getPlugins ().withType (PublishAllJavaComponentsPlugin .class ).all (new Action <PublishAllJavaComponentsPlugin >() {
62
62
@ Override
63
- public void execute (PublishingPlugin publishingPlugin ) {
63
+ public void execute (PublishAllJavaComponentsPlugin publishingPlugin ) {
64
64
PublishingExtension publishing = project .getExtensions ().findByType (PublishingExtension .class );
65
- Publication maven = publishing .getPublications ().getByName ("maven " );
65
+ Publication maven = publishing .getPublications ().getByName ("mavenJava " );
66
66
signing .sign (maven );
67
67
}
68
68
});
You can’t perform that action at this time.
0 commit comments