mccheah opened a new pull request #241: Use gradle-consistent-versions to 
manage dependencies
URL: https://github.com/apache/incubator-iceberg/pull/241
 
 
   
[gradle-consistent-versions](https://github.com/palantir/gradle-consistent-versions#compalantirconsistent-versions---)
 is a gradle plugin to ensure every project in your gradle setup uses the same 
versions of each dependency, which stops subtle hard-to-debug runtime errors 
from arising.
   
   The workflow is you:
   
   1. Define what versions you want in `versions.props`
   2. Run `./gradlew --write-locks` to write the entire dependency list 
(including transitives) to `versions.lock`.
   
   This `versions.lock` file gives you a bird's eye view of all version numbers 
in your repo. The plugin also means you can use a slightly more vanilla style 
of declaring dependencies. One also no longer  needs any intermediate variable 
names. All dependencies can be declared with the following format, no version 
number needed:
   
   ```
   dependencies {
      implementation 'com.google.guava:guava'
   }
   ```
   You can read more about it 
[here](https://github.com/palantir/gradle-consistent-versions#compalantirconsistent-versions---).
   
   Original credit goes to @iamdanfox and @CRogers.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to