Skip to content

Commit 042547c

Browse files
enable source context
Signed-off-by: androidacy-user <opensource@androidacy.com>
1 parent b57c2a2 commit 042547c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/build.gradle.kts

+6-1
Original file line numberDiff line numberDiff line change
@@ -395,10 +395,15 @@ sentry {
395395

396396
autoInstallation {
397397
enabled.set(true)
398-
sentryVersion.set("6.25.0")
399398
}
400399

401400
includeDependenciesReport.set(true)
401+
includeSourceContext.set(hasSentryConfig)
402+
403+
// Includes additional source directories into the source bundle.
404+
// These directories are resolved relative to the project directory.
405+
additionalSourceDirsForSourceContext.set(setOf("src/main/java", "src/main/kotlin"))
406+
402407
}
403408

404409
val abiCodes = mapOf("armeabi-v7a" to 1, "x86" to 2, "x86_64" to 3)

0 commit comments

Comments
 (0)