- Correctly flag API dependency on AppCompat for Maven
Currently when cordova-android is published to Maven, it lists no
dependencies. However, CordovaActivity
extends AppCompatActivity
which requires that the AndroidX AppCompat library be available.
Marking this as an API dependency (rather than an implementation/compile dependency) should cause the AndroidX AppCompat library to be installed when the cordova-android framework is added to the build.gradle of an existing Android application.
- Publish to Maven with proper metadata
This allows the Maven publish to pick up information from the android library component and include things like dependencies in the pom.xml file.