Skip to content

Commit

Permalink
Fix another deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
trustin committed Mar 29, 2020
1 parent 4a28be3 commit 0f326da
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class SphinxTask extends DefaultTask {
this.binaryUrl = binaryUrl
}

@InputDirectory
@InputFile
@PathSensitive(PathSensitivity.RELATIVE)
File getBinaryCacheDir() {
return project.file(binaryCacheDir).getCanonicalFile()
Expand Down Expand Up @@ -115,8 +115,8 @@ class SphinxTask extends DefaultTask {
this.outputDirectory = outputDirectory
}

@Input
@Optional
@InputFile
@PathSensitive(PathSensitivity.RELATIVE)
File getDoctreeCacheDirectory() {
project.file(doctreeCacheDirectory).getCanonicalFile()
}
Expand Down

0 comments on commit 0f326da

Please sign in to comment.