AGP 9+ defaults to new-DSL-only mode, which causes a NullPointerException
when conditionally creating signingConfigs inside the android {} block.
Setting android.newDsl=false restores the previous evaluation behaviour.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>