How to put templates into plugin using gradle
I'm making a plugin contains some templates files. when I run the project, I can't find the templates in {gradlepath}caches\modules-2\files-2.1\com.jetbrains.intellij.idea\ideaIC\2018.1.3\86a2c993435af646f55998a85dacfe162b5b56dc\ideaIC-2018.1.3\plugins\{myplugin}. The directory is empty.Neither in the directory({myproject}\build\idea-sandbox\plugins\{myplugin}\)
So, how to add a diretory as a part of my plugin.My project is using Gradle to build
Please sign in to leave a comment.
Hi,
You can put the template in the resources root or customize prepareSandbox tasks as it's described in the FAQ: https://github.com/JetBrains/gradle-intellij-plugin/blob/master/FAQ.md#how-do-i-add-my-a-custom-file-inside-plugin-distribution