Is there an existing issue?
Use case
The current documentation for enabling ObjectBox Admin / ObjectBrowser in Flutter Android projects provides examples using Gradle Groovy DSL (build.gradle), which still works correctly.
However, recent versions of Flutter create Android projects using Gradle Kotlin DSL (build.gradle.kts) by default. Copying the documented Groovy snippet into a .kts file leads to Gradle script compilation errors due to DSL syntax differences.
Proposed solution
Including a Kotlin DSL example would improve the developer experience for new Flutter projects.
configurations {
named("debugImplementation") {
exclude(group = "io.objectbox", module = "objectbox-android")
}
}
dependencies {
debugImplementation("io.objectbox:objectbox-android-objectbrowser:<version>")
}
Additional context
Current Doc: https://docs.objectbox.io/data-browser#admin-for-android