@janpio 
#### Initial Questions
- Do we have a Gradle versions requirement for Cordova projects? 
- How far back do we support? 

#### Overview
The later Android Studio should not complain.

`compile` had been deprecated from Gradle since 3.4, but still exists for 
backwards compatibility.

`implementation` and `api` was introduced to replace `compile`. The key 
differences is that `implementation` dependencies are identified as internal 
while `api` are external. 

```
implementation configuration should be used to declare dependencies which are 
internal to the component.
```
```
Dependencies appearing in the api configurations will be transitively exposed 
to consumers of the library, and as such will appear on the compile classpath 
of consumers. 

Dependencies found in the implementation configuration will, on the other hand, 
not be exposed to consumers, and therefore not leak into the consumers' compile 
classpath. 
```

https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_configurations_graph

#### Final Question
- Should we suppose the ability where the user can identify the framework 
library as `implementation` or `api`?

In most cases, `implementation` should be enough.

With this in mind, is there any concern for merging this PR or should we 
improve to support identify the type.

[ Full content available at: https://github.com/apache/cordova-android/pull/486 
]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to