Caleb Cushing
10/01/2024, 4:33 PMtasks.withType<Javadoc>().configureEach {
dependsOn(tasks.classes)
source(sourceSets.main.map { it.output.generatedSourcesDirs })
I have no idea how to get from there to actual filesCaleb Cushing
10/01/2024, 5:02 PMexclude {
logger.quiet("excluding: {}", it.file.path)
it.file.extension != "java"
}
it prints
excluding: /home/xeno/IdeaProjects/HHH-18676/src/main/java/example
excluding: /home/xeno/IdeaProjects/HHH-18676/build/generated/sources/annotationProcessor/java/main/entity
excluding: /home/xeno/IdeaProjects/HHH-18676/build/generated/sources/annotationProcessor/java/main/example
but if I return false, it prints
excluding: /home/xeno/IdeaProjects/HHH-18676/build/generated/sources/annotationProcessor/java/main/entity/index/MyClass
excluding: /home/xeno/IdeaProjects/HHH-18676/build/generated/sources/annotationProcessor/java/main/example
excluding: /home/xeno/IdeaProjects/HHH-18676/build/generated/sources/annotationProcessor/java/main/example/MyClass_.java
excluding: /home/xeno/IdeaProjects/HHH-18676/src/main/java/example
excluding: /home/xeno/IdeaProjects/HHH-18676/src/main/java/example/MyClass.java
excluding: /home/xeno/IdeaProjects/HHH-18676/build/generated/sources/annotationProcessor/java/main/example
excluding: /home/xeno/IdeaProjects/HHH-18676/build/generated/sources/annotationProcessor/java/main/example/MyClass_.java
excluding: /home/xeno/IdeaProjects/HHH-18676/build/generated/sources/annotationProcessor/java/main/entity
excluding: /home/xeno/IdeaProjects/HHH-18676/build/generated/sources/annotationProcessor/java/main/entity/index
excluding: /home/xeno/IdeaProjects/HHH-18676/build/generated/sources/annotationProcessor/java/main/entity/index/MyClass
why does it appear to be printing the filtered items in my log statement although I haven't filtered them yetCaleb Cushing
10/01/2024, 5:10 PMinclude("**/*.java") that's the right answer, but I still don't get the above logging...Thomas Broyer
10/02/2024, 7:50 AMCaleb Cushing
10/02/2024, 1:34 PM