REA Gradle Kotlin DSL notes (unofficial)
Gradle Kotlin DSL files (build.gradle.kts, settings.gradle.kts) declare plugins and dependency coordinates for JVM/Android builds. In REA 6.7.x, treat them as Evidence beside Gradle lock and AAR/JAR routes — complementing rea-gradle-locks and rea-gradle-aars.
Mental model
- Authorize the
*.gradle.ktstree (+ locks / AARs / JARs you hold). - Quote selected
plugins {}/ dependency coordinates you actually see. - Lock pins → rea-gradle-locks.
- Packed Android/JVM artifacts → rea-gradle-aars / rea-java-jars.
- Do not invent a
gradle dependenciestree REA never resolved.
Minimal path
# authorized build.gradle.kts (+ gradle.lockfile / AAR/JAR you hold)
# quote selected plugin/dependency lines into case notes
# REA archive/JVM routes on /absolute/path/artifact --json
# do not invent: rea inspect_gradle_kts .
Compare
| Artifact | Honest posture |
|---|---|
*.gradle.kts | Kotlin DSL identity facts |
| Gradle locks | rea-gradle-locks |
| AAR / JAR | rea-gradle-aars / rea-java-jars |
| Maven POMs | rea-maven-poms |
Scope we will not cover
- No inventing
inspect_gradle_kts/ automatic repo crawlers. - No Maven/Gradle repository credential theft.
- No pirate redistribution of paid Android/JVM deps.
- No crack framing for commercial apps built with Gradle.
RepoRead is unofficial. Prefer DSL/lock/archive honesty + DISCLAIMER.md.
FAQ
How is this different from rea-gradle-locks / rea-gradle-aars?
rea-gradle-locks covers lock pin identity; rea-gradle-aars covers AAR artifacts. This page zooms on Kotlin DSL build scripts (*.gradle.kts) as Evidence beside those routes.
Is there inspect_gradle_kts in 6.7.0?
Not assumed. Quote plugins/dependency lines you actually open, then hand AARs/JARs/archives to documented routes. Do not invent inspect_gradle_kts.
Does REA run Gradle or talk to Maven Central?
No. Local trees and artifacts only. No repository credential theft.
Groovy build.gradle still matters?
Yes — quote whichever DSL you were given. Do not invent a Kotlin migration REA never saw.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).