Use destinationFile instead of outputFile on WriteProperties tasks
MSALWriteProperties.outputFile is deprecated and removed in Gradle 9, where setting it fails. destinationFile replaces it. Only assignments directly in a block that names the WriteProperties type change. A string value is wrapped in file(..), because Gradle 8.14 does not accept a string for destinationFile. Reads are left alone, since destinationFile is a Provider rather than a File. See the Gradle upgrade guide for more information.
org. openrewrite. gradle. migrate. tasks. UseWritePropertiesDestinationFilemod run . --recipe= org. openrewrite. gradle. migrate. tasks. UseWritePropertiesDestinationFileInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.