How To Use Gradle API vs. Implementation Dependencies (Java Library Plugin)

Published: 02 March 2020
on channel: Tom Gregory Tech
16,538
430

The Gradle Java Library Plugin is the recommended plugin to use when building libraries that will be consumed by another project. It offers the ability to distinguish between api and implementation dependencies, offering some key benefits for whoever consumes the library.

In this video you’ll learn the main differences between api and implementation configurations with a real-world example showing exactly how things work under the covers.

GITHUB
Get the code used in the example in the video:
Library code https://github.com/tkgregory/gradle-j...
Consumer code https://github.com/tkgregory/gradle-j...

THIS VIDEO IN ARTICLE FORMAT
Check out this article on the same topic on my blog https://tomgregory.com/gradle/how-to-...

DOCS
See these Gradle docs for more info about the Java Library Plugin https://docs.gradle.org/current/userg...

🚀 FREE INTRODUCTORY GRADLE COURSE https://tomgregory.com/gradle/courses...

📖 ULTIMATE GRADLE BUILD BIBLE https://tomgregory.com/gradle/gradle-...

🌍 Check out my website https://tomgregory.com/gradle/


Watch video How To Use Gradle API vs. Implementation Dependencies (Java Library Plugin) online without registration, duration hours minute second in high quality. This video was added by user Tom Gregory Tech 02 March 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 16,538 once and liked it 430 people.