You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
위 방법으로 source set 단위로 의존성을 관리할 수 있게 된다고 하더라도, api configuration이 제대로 먹지 않는다. 즉, A가 B:application을 implemenation configuration으로 의존하고 B:application이 B:domain을 api configuration으로 의존하더라도, A에서 B:domain에 접근할 수 없다. 이건 아직 방법을 못 찾았다.
결국 요약하면, source set은 코드의 격리에는 적합하나 격리된 코드 단위로 의존성을 관리하기에는 적합하지 못한 도구이다.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
subproject 대신 source set을 사용해 봤는데, 의존성을 관리하는 데 몇 가지 불편함을 겪었다.
결국 요약하면, source set은 코드의 격리에는 적합하나 격리된 코드 단위로 의존성을 관리하기에는 적합하지 못한 도구이다.
그래서 gradle subproject로 넘어가야 할 것 같다.
Beta Was this translation helpful? Give feedback.
All reactions