@@ -21,49 +21,8 @@ The Maven artifact coordinates (`com.google.cloud:google-cloud-errorreporting`)
21
21
22
22
## Quickstart
23
23
24
- If you are using Maven with [ BOM] [ libraries-bom ] , add this to your pom.xml file:
25
24
26
- ``` xml
27
- <dependencyManagement >
28
- <dependencies >
29
- <dependency >
30
- <groupId >com.google.cloud</groupId >
31
- <artifactId >libraries-bom</artifactId >
32
- <version >26.1.4</version >
33
- <type >pom</type >
34
- <scope >import</scope >
35
- </dependency >
36
- </dependencies >
37
- </dependencyManagement >
38
-
39
- <dependencies >
40
- <dependency >
41
- <groupId >com.google.cloud</groupId >
42
- <artifactId >google-cloud-errorreporting</artifactId >
43
- </dependency >
44
- <!-- START_EXCLUDE -->
45
- <dependency >
46
- <groupId >com.google.cloud</groupId >
47
- <artifactId >google-cloud-core</artifactId >
48
- </dependency >
49
- <dependency >
50
- <groupId >junit</groupId >
51
- <artifactId >junit</artifactId >
52
- <version >4.13.2</version >
53
- <scope >test</scope >
54
- </dependency >
55
- <dependency >
56
- <groupId >com.google.truth</groupId >
57
- <artifactId >truth</artifactId >
58
- <version >1.1.3</version >
59
- <scope >test</scope >
60
- </dependency >
61
- <!-- END_EXCLUDE -->
62
- </dependencies >
63
-
64
- ```
65
-
66
- If you are using Maven without BOM, add this to your dependencies:
25
+ If you are using Maven, add this to your pom.xml file:
67
26
68
27
69
28
``` xml
@@ -72,16 +31,8 @@ If you are using Maven without BOM, add this to your dependencies:
72
31
<artifactId >google-cloud-errorreporting</artifactId >
73
32
<version >0.126.0-beta</version >
74
33
</dependency >
75
-
76
34
```
77
35
78
- If you are using Gradle 5.x or later, add this to your dependencies:
79
-
80
- ``` Groovy
81
- implementation platform('com.google.cloud:libraries-bom:26.1.4')
82
-
83
- implementation 'com.google.cloud:google-cloud-errorreporting'
84
- ```
85
36
If you are using Gradle without BOM, add this to your dependencies:
86
37
87
38
``` Groovy
@@ -129,15 +80,6 @@ use this Error Reporting Client Library.
129
80
130
81
131
82
132
- ## Samples
133
-
134
- Samples are in the [ ` samples/ ` ] ( https://github.com/googleapis/java-errorreporting/tree/main/samples ) directory.
135
-
136
- | Sample | Source Code | Try it |
137
- | --------------------------- | --------------------------------- | ------ |
138
- | Quick Start | [ source code] ( https://github.com/googleapis/java-errorreporting/blob/main/samples/snippets/src/main/java/com/example/errorreporting/QuickStart.java ) | [ ![ Open in Cloud Shell] [ shell_img ]] ( https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-errorreporting&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/errorreporting/QuickStart.java ) |
139
-
140
-
141
83
142
84
## Troubleshooting
143
85
0 commit comments