Monday, August 8, 2022

gradle dependancy structure

 Here's how we used to declare dependencies:

  • compile 'test.dependency:1.0.0'

Here are the new configurations which should replace compile:

  • implementation 'test.dependency:1.0.0' --> this dependency is only used within this module
  • api 'test.dependency:1.0.0' --> this dependency will also be available in any builds that depend on this module

No comments:

Post a Comment