File tree 1 file changed +3
-1
lines changed
buildSrc/src/main/java/org/springframework/shell/gradle
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ public void apply(Project project) {
40
40
PluginManager pluginManager = project .getPluginManager ();
41
41
pluginManager .apply (MavenPublishPlugin .class );
42
42
pluginManager .apply (PublishLocalPlugin .class );
43
+ // docsarchive needs to be created before artifactory
44
+ // conventions are used
45
+ project .getConfigurations ().create ("docsarchive" );
43
46
new ArtifactoryConventions ().apply (project );
44
47
Javadoc apiTask = createApiTask (project );
45
48
Zip zipTask = createZipTask (project );
@@ -67,7 +70,6 @@ private Zip createZipTask(Project project) {
67
70
68
71
// since gradle 8.3 archives configuration started to fail
69
72
// so using custom configuration name
70
- project .getConfigurations ().create ("docsarchive" );
71
73
project .getArtifacts ().add ("docsarchive" , zipTask );
72
74
return zipTask ;
73
75
}
You can’t perform that action at this time.
0 commit comments