Leon Linhart
07/24/2017, 7:22 PMgildor
07/25/2017, 12:14 AMLeon Linhart
07/25/2017, 9:06 AMgildor
07/25/2017, 9:11 AMtask<Javadoc>("myJavadocs") {
source = java.sourceSets["main"].allJava
}
But I’m not familiar with advanced javadoc configsLeon Linhart
07/25/2017, 10:21 AMapply plugin 'java'
def exportedProjects= [
":top-lib",
":sub:sub-api",
":sub:sub-lib1",
":sub:sub-lib2",
":sub:sub-lib3"
]
task alljavadoc(type: Javadoc) {
source exportedProjects.collect { project(it).sourceSets.main.allJava }
classpath = files(exportedProjects.collect { project(it).sourceSets.main.compileClasspath })
destinationDir = file("${buildDir}/docs/javadoc")
}
This is one of the snippets that come up when googling the issue. I do get what it does and how it does it but I'm having trouble porting the exportedProjects.collect { ... }
bits to Kotlin.gildor
07/25/2017, 3:51 PM.map{}