You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/06/28 19:15:12 UTC

[GitHub] [incubator-iceberg] mccheah opened a new pull request #241: Use gradle-consistent-versions to manage dependencies

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org