728x90 Android22 [Gradle - dependency] implementation과 api의 차이점 build script의 dependencies 블록에 여러 가지 다양한 종속성 구성(api, implementation, compileOnly, runtimeOnly, annotationProcessor)을 사용하여 라이브러리 종속성을 선언할 수 있다. 다양한 종속성 구성 중 implementation과 api의 차이는 무엇일까. implementation Gradle은 종속성을 컴파일 클래스 경로에 추가하여 종속성을 빌드 출력에 패키징합니다. 다만 모듈이 implementation 종속성을 구성하는 경우, 이것은 Gradle에 개발자가 모듈이 컴파일 시 다른 모듈로 유출되는 것을 원치 않는다는 것을 알려줍니다. 즉, 종속성은 런타임 시 다른 모듈에서만 이용할 수 있습니다. api 또는 compile(.. 2020. 7. 17. Bazel이란 무엇인가 Bazel을 안드로이드에 사용해보자 먼저 Bazel을 알아보기 위해 아래 링크를 참고하여 정리해봤다. https://docs.bazel.build/versions/master/bazel-overview.html Bazel overview Bazel overview What is Bazel? Bazel is an open-source build and test tool similar to Make, Maven, and Gradle. It uses a human-readable, high-level build language. Bazel supports projects in multiple languages and builds outputs for multiple platforms. Baze docs.baz.. 2020. 7. 14. 이전 1 ··· 3 4 5 6 다음 728x90