Skip to content

Commit b75f288

Browse files
authored
fixed some android snippets and bumped sentry-java (#1498)
1 parent 19bd0af commit b75f288

File tree

3 files changed

+86
-66
lines changed

3 files changed

+86
-66
lines changed

src/collections/_documentation/clients/java/integrations.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The Sentry Java SDK comes with support for some frameworks and libraries so that
99

1010
### Features
1111

12-
The Sentry Android SDK is built on top of the main Java SDK and supports all of the same features, [configuration options]({%- link _documentation/clients/java/config.md -%}), and more. Adding version `1.7.27` of the Android SDK to a sample application that doesn’t even use Proguard only increased the release `.apk` size by approximately 200KB.
12+
The Sentry Android SDK is built on top of the main Java SDK and supports all of the same features, [configuration options]({%- link _documentation/clients/java/config.md -%}), and more. Adding version `1.7.30` of the Android SDK to a sample application that doesn’t even use Proguard only increased the release `.apk` size by approximately 200KB.
1313

1414
Events will be [buffered to disk]({%- link _documentation/clients/java/config.md -%}#buffering-events-to-disk) (in the application’s cache directory) by default. This allows events to be sent at a later time if the device does not have connectivity when an event is created. This can be disabled by [setting the option]({%- link _documentation/clients/java/config.md -%}#configuration) `buffer.enabled` to `false`.
1515

@@ -27,14 +27,14 @@ By default the UI thread needs to be blocked for at least 5 seconds for an event
2727
Using Gradle (Android Studio) in your `app/build.gradle` add:
2828

2929
```groovy
30-
implementation 'io.sentry:sentry-android:1.7.27'
30+
implementation 'io.sentry:sentry-android:1.7.30'
3131
3232
// this dependency is not required if you are already using your own
3333
// slf4j implementation
3434
implementation 'org.slf4j:slf4j-nop:1.7.25'
3535
```
3636

37-
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-android%7C1.7.27%7Cjar).
37+
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-android%7C1.7.30%7Cjar).
3838
<!-- TODO-ADD-VERIFICATION-EXAMPLE -->
3939
<!-- ENDWIZARD -->
4040

@@ -152,7 +152,7 @@ And declare a dependency in your toplevel `build.gradle`:
152152
```groovy
153153
buildscript {
154154
dependencies {
155-
classpath 'io.sentry:sentry-android-gradle-plugin:1.7.27'
155+
classpath 'io.sentry:sentry-android-gradle-plugin:1.7.30'
156156
}
157157
}
158158
```
@@ -277,23 +277,23 @@ Using Maven:
277277
<dependency>
278278
<groupId>io.sentry</groupId>
279279
<artifactId>sentry-appengine</artifactId>
280-
<version>1.7.27</version>
280+
<version>1.7.30</version>
281281
</dependency>
282282
```
283283

284284
Using Gradle:
285285

286286
```groovy
287-
compile 'io.sentry:sentry-appengine:1.7.27'
287+
compile 'io.sentry:sentry-appengine:1.7.30'
288288
```
289289

290290
Using SBT:
291291

292292
```scala
293-
libraryDependencies += "io.sentry" % "sentry-appengine" % "1.7.27"
293+
libraryDependencies += "io.sentry" % "sentry-appengine" % "1.7.30"
294294
```
295295

296-
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-appengine%7C1.7.27%7Cjar).
296+
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-appengine%7C1.7.30%7Cjar).
297297

298298
### Usage
299299

@@ -343,23 +343,23 @@ Using Maven:
343343
<dependency>
344344
<groupId>io.sentry</groupId>
345345
<artifactId>sentry</artifactId>
346-
<version>1.7.27</version>
346+
<version>1.7.30</version>
347347
</dependency>
348348
```
349349

350350
Using Gradle:
351351

352352
```groovy
353-
compile 'io.sentry:sentry:1.7.27'
353+
compile 'io.sentry:sentry:1.7.30'
354354
```
355355

356356
Using SBT:
357357

358358
```scala
359-
libraryDependencies += "io.sentry" % "sentry" % "1.7.27"
359+
libraryDependencies += "io.sentry" % "sentry" % "1.7.30"
360360
```
361361

362-
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry%7C1.7.27%7Cjar).
362+
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry%7C1.7.30%7Cjar).
363363

364364
### Usage
365365

@@ -452,23 +452,23 @@ Using Maven:
452452
<dependency>
453453
<groupId>io.sentry</groupId>
454454
<artifactId>sentry-log4j</artifactId>
455-
<version>1.7.27</version>
455+
<version>1.7.30</version>
456456
</dependency>
457457
```
458458

459459
Using Gradle:
460460

461461
```groovy
462-
compile 'io.sentry:sentry-log4j:1.7.27'
462+
compile 'io.sentry:sentry-log4j:1.7.30'
463463
```
464464

465465
Using SBT:
466466

467467
```scala
468-
libraryDependencies += "io.sentry" % "sentry-log4j" % "1.7.27"
468+
libraryDependencies += "io.sentry" % "sentry-log4j" % "1.7.30"
469469
```
470470

471-
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-log4j%7C1.7.27%7Cjar).
471+
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-log4j%7C1.7.30%7Cjar).
472472

473473
### Usage
474474

@@ -624,23 +624,23 @@ Using Maven:
624624
<dependency>
625625
<groupId>io.sentry</groupId>
626626
<artifactId>sentry-log4j2</artifactId>
627-
<version>1.7.27</version>
627+
<version>1.7.30</version>
628628
</dependency>
629629
```
630630

631631
Using Gradle:
632632

633633
```groovy
634-
compile 'io.sentry:sentry-log4j2:1.7.27'
634+
compile 'io.sentry:sentry-log4j2:1.7.30'
635635
```
636636

637637
Using SBT:
638638

639639
```scala
640-
libraryDependencies += "io.sentry" % "sentry-log4j2" % "1.7.27"
640+
libraryDependencies += "io.sentry" % "sentry-log4j2" % "1.7.30"
641641
```
642642

643-
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-log4j2%7C1.7.27%7Cjar).
643+
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-log4j2%7C1.7.30%7Cjar).
644644

645645
### Usage
646646

@@ -773,23 +773,23 @@ Using Maven:
773773
<dependency>
774774
<groupId>io.sentry</groupId>
775775
<artifactId>sentry-logback</artifactId>
776-
<version>1.7.27</version>
776+
<version>1.7.30</version>
777777
</dependency>
778778
```
779779

780780
Using Gradle:
781781

782782
```groovy
783-
compile 'io.sentry:sentry-logback:1.7.27'
783+
compile 'io.sentry:sentry-logback:1.7.30'
784784
```
785785

786786
Using SBT:
787787

788788
```scala
789-
libraryDependencies += "io.sentry" % "sentry-logback" % "1.7.27"
789+
libraryDependencies += "io.sentry" % "sentry-logback" % "1.7.30"
790790
```
791791

792-
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-logback%7C1.7.27%7Cjar).
792+
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-logback%7C1.7.30%7Cjar).
793793

794794
### Usage
795795

@@ -971,23 +971,23 @@ Using Maven:
971971
<dependency>
972972
<groupId>io.sentry</groupId>
973973
<artifactId>sentry-spring</artifactId>
974-
<version>1.7.27</version>
974+
<version>1.7.30</version>
975975
</dependency>
976976
```
977977

978978
Using Gradle:
979979

980980
```groovy
981-
compile 'io.sentry:sentry-spring:1.7.27'
981+
compile 'io.sentry:sentry-spring:1.7.30'
982982
```
983983

984984
Using SBT:
985985

986986
```scala
987-
libraryDependencies += "io.sentry" % "sentry-spring" % "1.7.27"
987+
libraryDependencies += "io.sentry" % "sentry-spring" % "1.7.30"
988988
```
989989

990-
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-spring%7C1.7.27%7Cjar).
990+
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-spring%7C1.7.30%7Cjar).
991991

992992
### Usage
993993

src/collections/_documentation/clients/java/usage.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,23 @@ Using Maven:
2121
<dependency>
2222
<groupId>io.sentry</groupId>
2323
<artifactId>sentry</artifactId>
24-
<version>1.7.27</version>
24+
<version>1.7.30</version>
2525
</dependency>
2626
```
2727

2828
Using Gradle:
2929

3030
```groovy
31-
compile 'io.sentry:sentry:1.7.27'
31+
compile 'io.sentry:sentry:1.7.30'
3232
```
3333

3434
Using SBT:
3535

3636
```scala
37-
libraryDependencies += "io.sentry" % "sentry" % "1.7.27"
37+
libraryDependencies += "io.sentry" % "sentry" % "1.7.30"
3838
```
3939

40-
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry%7C1.7.27%7Cjar).
40+
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry%7C1.7.30%7Cjar).
4141
<!-- ENDWIZARD -->
4242

4343
<!-- WIZARD capture-an-error -->

0 commit comments

Comments
 (0)