Add an annotation to every generated File?

Is there a way to have the source code generation task put @file:Suppress("ALL") at the top of each file easily? I want to suppress code smell and formatting rules.

Ended up doing it w/ a custom Gradle task.