Packaging a configuration file in a custom gradle plugin

plugins

(Nishchay Pant) #1

Hi,
i developed a gradle plugin using groovy, that is published to some artifactory. The plugin has to be applied to different builds and uses a configuration file that is placed along with the build. Now i am planning to package that file along with the plugin , so that it cannot be modified by anyone. How do i achieve this ?
The plugin internally is provided the path of the file and reads from the file to perform certain tasks.
Thanks in advance