Skip to content

Commit

Permalink
Correct and simplify access to Javadoc directory
Browse files Browse the repository at this point in the history
The previous approach was needlessly complicated.  It was also flat-out
wrong, since it turned a property (rather than a property's value) into
a `String` for use in a `File` name.
  • Loading branch information
liblit committed Feb 9, 2024
1 parent 95e4563 commit be01a46
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cast/js/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ val processTestResources by tasks.existing(Copy::class) { from(unpackAjaxslt) {
val testResources: Configuration by configurations.creating { isCanBeResolved = false }

artifacts {
val java: JavaPluginExtension by extensions
add(javadocDestinationDirectory.name, file("${java.docsDir}/javadoc"))
add(javadocDestinationDirectory.name, tasks.javadoc)
add(packageListDirectory.name, createPackageList)
add(testResources.name, processTestResources)
}

0 comments on commit be01a46

Please sign in to comment.