Skip to content

Commit ec86f71

Browse files
authored
Merge pull request #1878 from grails/sourceAndJavadocFix
Include javadoc & groovydoc in the same jar and restore source inclusion
2 parents 8f80a7d + 7600354 commit ec86f71

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
@@ -14,19 +14,4 @@ extensions.configure(GrailsPublishExtension) {
1414
'puneetbehl': 'Puneet Behl',
1515
'jamesfredley': 'James Fredley'
1616
]
17-
}
18-
19-
// Add sources and javadoc jar tasks
20-
// java.withSourcesJar() and java.withJavadocJar() is not compatible here with GrailsPublishPlugin
21-
if (!tasks.findByName('sourcesJar')) {
22-
tasks.register('sourcesJar', Jar) {
23-
archiveClassifier = 'sources'
24-
from sourceSets.main.allSource
25-
}
26-
}
27-
if (!tasks.findByName('javadocJar')) {
28-
tasks.register('javadocJar', Jar) {
29-
archiveClassifier = 'javadoc'
30-
from javadoc.destinationDir
31-
}
3217
}

0 commit comments

Comments
 (0)