OutputFiles annotation on non-Map properties in 3.0 M2

(Scott Palmer) #1

I get the following message when I try to build my project with 3.0M2… it would be nice if it could tell me what source file and line number that was found in so I can fix it:

The use of the @OutputFiles annotation on non-Map properties has been deprecated and is scheduled to be removed in Gradle 3.0. Please use separate properties for each file annotated with @OutputFile, reorganize output files under a single output directory annotated with @OutputDirectory, or change the property type to Map.

(Mark Vieira) #2

You can use -Dorg.gradle.deprecation.trace=true to get a stacktrace included in the deprecation message.