Apply ktlint exclusions to per-file task
Apply ktlint exclusions to per-file task

The per-file ktlint task doesn't have the same exclusions as the
project-level ktlint tasks which leads to false positives in Playground.

Test: ./gradlew :ktlint --file= navigation/navigation-safe-args-generator/src/test/test-data/expected/kotlin_nav_writer_test/MainFragmentArgs.kt
Change-Id: Ie52da786b14cab4612621c51d3bbf32fa85d543a

AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx