How to add a maven plugin to a nativescript project

plugins

#1

Hi, does anyone knows how to add an existing plugin from a repository like maven or android arsenal to a project?
Thanks!


#2

@locolauty97 you can open the app/App_Resources/Android/app.gradle and edit the dependency scope to your liking to add any android plugin from a maven/jcenter repository

PS. Make sure to leave a heart (like the response), or mark the response as the solution to your question if you found it helpful - It’s just one way to show appreciation to the forum contributors.


#3

Thanks @Pete.K I tried and worked. I also found some articles that helped me to achieve it. I share them here https://developer.telerik.com/featured/using-native-libraries-in-nativescript/ and https://www.nativescript.org/blog/plugins-and-jars.