LoginSignup
28
11

Gradleのimplementationとapiの違いメモ

Last updated at Posted at 2020-01-12

implementationapi

コンフィグレーション 依存関係の伝播
implementation しない
api する

サンプル

image.png

このとき、プロジェクトAから見て

プロジェクト コードの参照可否
B 参照できる
C 参照できる
D 参照できない
E 参照できる
F 参照できない
G 参照できる

となる。

参考

28
11
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
28
11