draft
This commit is contained in:
parent
5bc9b60623
commit
6e0b343de3
@ -141,4 +141,22 @@ tasks.register("generateJavaDoc", Javadoc::class) {
|
|||||||
include(droolsImports)
|
include(droolsImports)
|
||||||
}
|
}
|
||||||
destinationDir = file("docs/javadoc")
|
destinationDir = file("docs/javadoc")
|
||||||
|
|
||||||
|
doLast {
|
||||||
|
// Get the docs/javadoc directory as a File object
|
||||||
|
val javadocDir = file("docs/javadoc/")
|
||||||
|
|
||||||
|
// Print the absolute path of the directory
|
||||||
|
println("The absolute path of the docs/javadoc directory is: ${javadocDir.absolutePath}")
|
||||||
|
|
||||||
|
// Check if the directory exists and list its contents
|
||||||
|
if (javadocDir.exists()) {
|
||||||
|
println("Listing contents of ${javadocDir.absolutePath}:")
|
||||||
|
javadocDir.listFiles()?.forEach { file ->
|
||||||
|
println(file.absolutePath)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
println("The directory does not exist.")
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user