# Cannot Include Assets(.txt) Files In Katalon Custom Plugin

**URL:** <https://forum.katalon.com/t/cannot-include-assets-txt-files-in-katalon-custom-plugin/56745>\
**Category:** Bug Report\
**Tags:** katalon-studio, bugs-report\
**Created:** [July 20, 2021, 7:27am UTC](https://forum.katalon.com/t/cannot-include-assets-txt-files-in-katalon-custom-plugin/56745 "2021-07-20T07:27:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![swapnil.chavan1](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/swapnil.chavan1/32/16104_2.png) [@swapnil.chavan1](https://forum.katalon.com/u/swapnil.chavan1)\
**Post date:** [July 20, 2021, 7:27am UTC](https://forum.katalon.com/t/cannot-include-assets-txt-files-in-katalon-custom-plugin/56745/1 "2021-07-20T07:27:00Z")

</div>

Hi Team,  
I am creating a custom plugin jar, I want to include .txt files to the plugin which are part on Include/scripts/groovy. I have made changes in my build.gradle as well but when the jar gets created those .txt files are not part of my .jar. The .txt files gets excluded while creating a jar. How can I include non java files in my custom plugin jar?  
Waiting for response.  
Thanks

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [July 20, 2021, 9:33am UTC](https://forum.katalon.com/t/cannot-include-assets-txt-files-in-katalon-custom-plugin/56745/2 "2021-07-20T09:33:37Z")

</div>

There are many posts to read

> <https://stackoverflow.com/questions/24724383/add-resources-config-files-to-your-jar-using-gradle>

> **[How do I specify the resources folder in a Jar?](https://discuss.gradle.org/t/how-do-i-specify-the-resources-folder-in-a-jar/16054/9)**
>
> A custom copy task as the one reported below is in fact able to solve the issue and I have obtained what I expected described in my previous post. Anyway, for the sake of completeness, I will be grateful if someone can explain: does Gradle in...

[http://gradle.1045684.n5.nabble.com/How-to-put-multiple-resources-in-a-jar-file-td2255461.html](http://gradle.1045684.n5.nabble.com/How-to-put-multiple-resources-in-a-jar-file-td2255461.html)

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [July 20, 2022, 9:33am UTC](https://forum.katalon.com/t/cannot-include-assets-txt-files-in-katalon-custom-plugin/56745/3 "2022-07-20T09:33:55Z")

</div>

Closed on July 20, 2022, 9:33am UTC

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
