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
  • 117,005
  • 15
  • 201
  • 306
0xAliHn
  • 18,390
  • 23
  • 91
  • 111
  • 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 Holloway-George Mar 08 '18 at 15:34

0 Answers0