sentry-docs icon indicating copy to clipboard operation
sentry-docs copied to clipboard

Add Kotlin (build.gradle.kts) snippet to Android NDK link-libraries docs

Open gords2 opened this issue 5 months ago • 2 comments

Description

Closes #12902.

On the Android NDK page, the Allowing the Compiler to Link Libraries section showed a single dependency snippet that used Kotlin DSL syntax (prefab = true, implementation("…")) but was labelled with the Groovy filename app/build.gradle.

Flutter 3.29+ (and recent Android Studio templates) generate build.gradle.kts, so users following this page were left without a matching Groovy example and the labelled snippet was inconsistent.

This splits it into two blocks, matching the Groovy/Kotlin pattern already used further down this same page (the "Disable NDK Integration" / configurations.configureEach snippets):

  • app/build.gradle — Groovy DSL (prefab true, implementation '…')
  • app/build.gradle.kts — Kotlin DSL (prefab = true, implementation("…"))

No content/behaviour change beyond adding the Kotlin DSL variant and correcting the Groovy snippet's syntax/label.

gords2 avatar Jun 21 '26 03:06 gords2

@gords2 is attempting to deploy a commit to the Sentry Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jun 21 '26 03:06 vercel[bot]

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment Jun 26, 2026 9:10pm
sentry-docs Ready Ready Preview, Comment Jun 26, 2026 9:10pm

Request Review

vercel[bot] avatar Jun 26 '26 20:06 vercel[bot]