Skip to content

Commit 07c2d65

Browse files
committed
Fix --no-upload option in Sentry Gradle Plugin under newer Groovy.
1 parent 5626a1c commit 07c2d65

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGES

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Version 1.7.18
22
--------------
33

4-
-
4+
- Fix `--no-upload` option in Sentry Gradle Plugin under newer Groovy.
55

66
Version 1.7.17
77
--------------
88

9-
- Fixes for Sentry Gradle Plugin when using Android Studio 3.3 and Gradle 5.1.
9+
- Fix for Sentry Gradle Plugin when using Android Studio 3.3 and Gradle 5.1.
1010

1111
Version 1.7.16
1212
--------------

sentry-android-gradle-plugin/src/main/groovy/io/sentry/android/gradle/SentryPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ class SentryPlugin implements Plugin<Project> {
244244
]
245245

246246
if (!extension.autoUpload) {
247-
args.push("--no-upload")
247+
args << "--no-upload"
248248
}
249249

250250
if (Os.isFamily(Os.FAMILY_WINDOWS)) {

0 commit comments

Comments
 (0)