Rules from remote location #3857
-
At the moment I keep my custom detekt-config.yml in project resources, referenced in build.gradle.kts: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You can create your own gradle task to download a file from the network. Then you just need to add your task as a prerequisit to run the detekt task and done. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the advice. It works, thought I had either write ugly download task myself, or use de.undercouch.download plugin. |
Beta Was this translation helpful? Give feedback.
-
You can also mount a remote location locally and keep on using |
Beta Was this translation helpful? Give feedback.
You can create your own gradle task to download a file from the network. Then you just need to add your task as a prerequisit to run the detekt task and done.