de79cf0342
Three issues: * AdminRequestsScreen line 105 MagicNumber on UUID prefix length 8. Extracted to USER_ID_PREFIX_LEN with rationale. * LibraryRepository TooManyFunctions (12/11) after shuffleLibrary addition. Same pattern as PlayerController / AuthStore: @Suppress at the class with rationale (function count scales with entity- family count, splitting would scatter plumbing). * JDK 22+ "restricted method java.lang.System::load" warning from Gradle's bundled native-platform jar. Add --enable-native-access=ALL-UNNAMED to org.gradle.jvmargs so the daemon opts the native loader in. Future-compat: Gradle will declare this in the jar's manifest eventually and the flag becomes redundant. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
20 lines
925 B
Properties
20 lines
925 B
Properties
# --enable-native-access=ALL-UNNAMED silences the JDK 22+ "restricted
|
|
# method in java.lang.System has been called" warning that Gradle 9.1's
|
|
# bundled native-platform-0.22-milestone-28.jar trips via System.load().
|
|
# Future JDKs will require this opt-in to allow native loads from
|
|
# unnamed modules; the jar itself doesn't yet declare native access in
|
|
# its manifest, so we opt in at the daemon level.
|
|
org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8 --enable-native-access=ALL-UNNAMED
|
|
org.gradle.parallel=true
|
|
org.gradle.caching=true
|
|
org.gradle.configuration-cache=true
|
|
android.useAndroidX=true
|
|
android.nonTransitiveRClass=true
|
|
|
|
# detekt 2.0-alpha + ktlint Gradle plugin have intermittent
|
|
# configuration-cache compatibility holes. Warn rather than fail so the
|
|
# CC speedup applies where it can; revisit when both tools ship stable
|
|
# CC-clean releases.
|
|
org.gradle.configuration-cache.problems=warn
|
|
kotlin.code.style=official
|