Skip to content

Commit

Permalink
Merge pull request #911 from arunvenmany-ibm/gradle9_deprecated_fix
Browse files Browse the repository at this point in the history
Fixing deprecation for AbstractCompile.destinationDir
  • Loading branch information
cherylking authored Oct 3, 2024
2 parents cc74566 + b1e68e0 commit bd046d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ class DeployTask extends AbstractServerTask {

File outputDir;
if(compileJava != null){
outputDir = compileJava.destinationDir
outputDir = compileJava.getDestinationDirectory().get().getAsFile()
}

if (outputDir != null && !outputDir.exists() && hasJavaSourceFiles(task.classpath, outputDir)) {
Expand Down

0 comments on commit bd046d6

Please sign in to comment.