4

Since android studio 3.0 when I build a project a new syntax implementation is by default added in gradle dependency section like below:

implementation 'com.android.support:appcompat-v7:26.1.0'

We can also use api instead of implementation here like below:

api 'com.android.support:appcompat-v7:26.1.0'

What is actual difference between implementation and api really? when we should use what as usual?

Eugene
  • 110,516
  • 12
  • 173
  • 277
0xAliHn
  • 18,256
  • 21
  • 87
  • 110
  • 1
    Please see: https://stackoverflow.com/questions/44413952/gradle-implementation-vs-api-configuration – drakeet Oct 03 '17 at 01:41
  • 3
    Possible duplicate of [Gradle Implementation vs API configuration](https://stackoverflow.com/questions/44413952/gradle-implementation-vs-api-configuration) – Ed George Mar 08 '18 at 15:34

0 Answers0