compile (1) 썸네일형 리스트형 [Gradle] implementation, api, compile의 차이 (feat. dependencies 종속성) 📝 기록하게 된 배경 implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1" api 'com.squareup.retrofit2:converter-gson:2.1.0' compile 'com.squareup.okhttp3:logging-interceptor:3.4.1' 네트워크 모듈 설계 중 retrofit을 적용하기 위해 build.gradle 파일에서 dependencies 블록에 라이브러리 종속성을 선언하였습니다. 선언 방식에는 api와 implementation이 있는데, 둘 중에서 implementation을 사용하는 이유가 궁금해졌습니다. (+ 찾아보니 compile 방식도 있어 같이 알아보고자 합니다.) Gradle은 a.. 이전 1 다음