Skip to content

Commit 64983f8

Browse files
authored
---
yaml --- r: 8227 b: refs/heads/master c: 7a83404 h: refs/heads/master i: 8225: 71b3df6 8223: cc35eec
1 parent 1f87c33 commit 64983f8

2 files changed

Lines changed: 35 additions & 1 deletion

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 94f395ecb7e79a6536a320a15f81d343a7826d7e
2+
refs/heads/master: 7a834042458af7df4f5b09fa4546703adb8ad4b0
33
refs/heads/travis: 47e4fee4fd5af9b2a8ce46f23c72ec95f9b195b2
44
refs/heads/gh-pages: 0114589947fea527ea3831330789accedbecf45c
55
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444

trunk/README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,40 @@ libraryDependencies += "com.google.cloud" % "google-cloud" % "0.21.1-alpha"
6868

6969
For running on Google App Engine, see [more instructions here](./APPENGINE.md).
7070

71+
Resolving dependency conflicts
72+
----------
73+
Optionally, if you encounter dependency conflicts, you may specify google-cloud-pom as a ["bill of materials"](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies) to ensure that internal dependencies of google-cloud and your project are in sync.
74+
75+
If you are using Maven, add this to your pom.xml file
76+
```xml
77+
<dependencyManagement>
78+
<dependencies>
79+
<dependency>
80+
<groupId>com.google.cloud</groupId>
81+
<artifactId>google-cloud-pom</artifactId>
82+
<version>0.21.1-alpha</version>
83+
<type>pom</type>
84+
<scope>import</scope>
85+
</dependency>
86+
</dependencies>
87+
</dependencyManagement>
88+
```
89+
If you are using Gradle, add the following plugin at the beginning of your build.gradle file
90+
91+
```Groovy
92+
plugins {
93+
id "io.spring.dependency-management" version "1.0.3.RELEASE"
94+
}
95+
```
96+
Then add the following in your build.gradle file
97+
```Groovy
98+
dependencyManagement {
99+
imports {
100+
mavenBom 'com.google.cloud:google-cloud-pom:0.21.1-alpha'
101+
}
102+
}
103+
```
104+
71105
Example Applications
72106
--------------------
73107

0 commit comments

Comments
 (0)