org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.configuration-cache=true

android.useAndroidX=true
android.nonTransitiveRClass=true

kotlin.code.style=official

# The Emby server every build of Memby signs in to. Users never see or type it.
# Leave blank to fall back to asking for the address on the setup screen.
# Override per-machine in ~/.gradle/gradle.properties, or per-build with
#   .\gradlew.bat assembleDebug -Pmemby.serverUrl=http://10.0.0.5:8096
memby.serverUrl=https://molise.bounceme.net

# The Memby gateway container (server/). When set, the app talks to it instead of Emby
# and the address above is only used as the fallback path. Blank = talk to Emby directly.
memby.gatewayUrl=https://mserver.sublogue.com

# Enabled parallel sync for Gradle 9.4+
org.gradle.tooling.parallel=true

# Keeps Kotlin compilation with the JetBrains Gradle plugin rather than AGP 9's own
# built-in Kotlin, which is the default from AGP 9 and registers a `kotlin` extension of
# its own — applying org.jetbrains.kotlin.android on top of it fails outright. This is not
# upgrade cruft to be cleared later: Compose and kotlinx.serialization are *Kotlin compiler
# plugins* and need the JetBrains plugin to apply them, so built-in Kotlin cannot build
# this app until AGP carries both.
android.builtInKotlin=false

# Same constraint, one layer down. AGP 9's new DSL replaces BaseExtension, and Kotlin
# 2.2.10's Android plugin still casts the `android` extension to it — with the new DSL on,
# applying it fails with a ClassCastException before anything compiles. This is what makes
# `android { }` report itself deprecated in the build files; that warning cannot be
# resolved from this side, and clears when the Kotlin plugin adopts the new DSL.
android.newDsl=false
