Skip to content

Commit 7600354

Browse files
committed
Include javadoc & groovydoc in the same jar and restore source inclusion
1 parent 387a664 commit 7600354

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

gradle/publish-config.gradle

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,4 @@ extensions.configure(GrailsPublishExtension) {
1616
'puneetbehl': 'Puneet Behl',
1717
'jamesfredley': 'James Fredley'
1818
]
19-
}
20-
21-
// Add sources and javadoc jar tasks
22-
// java.withSourcesJar() and java.withJavadocJar() is not compatible here with GrailsPublishPlugin
23-
if (!tasks.findByName('sourcesJar')) {
24-
tasks.register('sourcesJar', Jar) {
25-
archiveClassifier = 'sources'
26-
from sourceSets.main.allSource
27-
}
28-
}
29-
if (!tasks.findByName('javadocJar')) {
30-
tasks.register('javadocJar', Jar) {
31-
archiveClassifier = 'javadoc'
32-
from javadoc.destinationDir
33-
}
3419
}

0 commit comments

Comments
 (0)