Skip to content

Commit b29fb79

Browse files
fix: gradle doc generation issues
1 parent 46b9787 commit b29fb79

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

build.gradle

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ mavenPublishing {
2525
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, true)
2626
signAllPublications()
2727

28-
configure { publication ->
29-
if (publication instanceof MavenPublication) {
30-
publication.artifacts.removeAll { it.classifier == 'javadoc' }
31-
}
32-
}
33-
3428
pom {
3529
name = 'DevCycle Java Server SDK'
3630
description = 'Server side SDK to interact with DevCycle.'
@@ -60,6 +54,13 @@ mavenPublishing {
6054
}
6155
}
6256

57+
// Move this configuration to after all plugins and configurations are set
58+
afterEvaluate {
59+
tasks.named('generateMetadataFileForMavenPublication') {
60+
enabled = false
61+
}
62+
}
63+
6364
signing {
6465
// The signing key needs to be an ascii armored key version of the binary gpg keyfile
6566
// encoded in base64 to preserver formatting when used in an environment variable

0 commit comments

Comments
 (0)