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, duration hours minute second in high quality that is uploaded to the channel Tom Gregory Tech 02 March 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 16,538 times and liked it 430 visitors.