Gradle Version Catalog: A Step-by-Step Guide — Part2
<p>In the Part 1 of this series, we have discussed about the theory behind Gradle Version Catalog and its role in the dependency management. If you haven’t read it yet, I recommend to read it from <a href="https://medium.com/@bhoomivaghasiya/gradle-version-catalog-basic-understanding-part-1-eedae565268b" rel="noopener"><strong>here</strong></a>, for comprehensive understanding of this powerful tool.</p>
<p>Here the step-by-step guide on on how to create and implement a Gradle version catalog:</p>
<p>Before creating the file, make sure that you use <strong>Gradle 7.4 or newer</strong></p>
<h1>Create the version catalog file</h1>
<p>The version catalog file can be in either TOML or JSON format. In your root project’s <code>gradle</code> folder, create a file called <code>libs.versions.toml</code> (By default, Gradle looks for the catalog in the<code>libs.versions.toml</code> so it’s better to use default name)</p>
<p><a href="https://medium.com/tag/android-development/recommended">Read More</a></p>
<p> </p>