Skip to content

Commit 6906dcb

Browse files
runningcodeclaude
andcommitted
fix(snapshot): Remove hardcoded snapshotsPath from upload task
Let users pass the path via --snapshots-path instead of hardcoding the now-removed build/sentry-snapshots directory. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a53e6ec commit 6906dcb

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

plugin-build/src/main/kotlin/io/sentry/android/gradle/AndroidComponentsConfig.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -485,9 +485,6 @@ private fun ApplicationVariant.configureSnapshotsTasks(
485485
sentryProperties = sentryProps,
486486
taskSuffix = name.capitalized,
487487
)
488-
uploadTask.configure { task ->
489-
task.snapshotsPath.set(project.layout.buildDirectory.dir("sentry-snapshots/${name}/images"))
490-
}
491488
}
492489

493490
/**

0 commit comments

Comments
 (0)