I'm building a Cordova Android plugin. I want to use a 3rd party View
inside an Intent
that is created by the plugin (specifically scissors).
Normally (in non Cordova projects) I would go to my project's build.gradle
file and add it like this:
dependencies {
compile 'com.lyft:scissors:1.0.1' }
But it seems like the build.gradle
file in my plugin's project wasn't meant to be touched?
What is the proper way to add a dependency to a plugin project, to support both builds via Cordova and builds via Android Studio?
Same question, but for a local project (not hosted on GitHub).