How to add Third party jar in Capacitory plugin myself

I already added jar in my plugin:
capaictor-> android->libs
but when npm install my plugin, jar is not added into the project.
Any solution for this? Currently I manually add the jar into the project which is working. How to auto add into my project when I npm install my plugin?
thank you

Does your plugin build.gradle file has an entry like implementation fileTree(include: ['*.jar'], dir: 'libs')?

If so, try putting the .jar in the plugin’s android/src/main/lib (lib doesn’t exist, you have to create it)