mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +02:00
Make "duplicate" package-info.java files symbolic links
This is needed for javadocAll since otherwhise there will be smack-core/src/main/java/org/jivesoftware/smack/package-info.java:21: warning: a package-info.java file has already been seen for package org.jivesoftware.smack warnings.
This commit is contained in:
parent
ac77c969ac
commit
75625283ef
24 changed files with 30 additions and 484 deletions
|
@ -293,7 +293,13 @@ task copyAllJavadocDocFiles(type: Copy) {
|
|||
|
||||
task javadocAll(type: Javadoc, dependsOn: copyAllJavadocDocFiles) {
|
||||
source javadocAllProjects.collect {project ->
|
||||
project.sourceSets.main.allJava }
|
||||
project.sourceSets.main.allJava.findAll {
|
||||
// Filter out symbolic links to avoid
|
||||
// "warning: a package-info.java file has already been seen for package"
|
||||
// javadoc warnings.
|
||||
!java.nio.file.Files.isSymbolicLink(it.toPath())
|
||||
}
|
||||
}
|
||||
destinationDir = javadocAllDir
|
||||
// Might need a classpath
|
||||
classpath = files(subprojects.collect {project ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue