Build Failure Root Cause
The root build.gradle in the example app references:
credentialsPropertiesFile["cardinal.user"]
credentialsPropertiesFile["cardinal.key"]
inside the Maven credentials block, but credentialsPropertiesFile is never defined. This causes the build to fail on Gradle 8+.
The app/build.gradle file in the same example already uses the correct approach via project.findProperty(...), so the root file should follow the same pattern for consistency and compatibility.
Fix
Replace:
credentialsPropertiesFile["cardinal.user"]
credentialsPropertiesFile["cardinal.key"]
with:
project.findProperty("cardinal.user")
project.findProperty("cardinal.key")
in:
example/android/build.gradle
Build Failure Root Cause
The root
build.gradlein the example app references:inside the Maven credentials block, but
credentialsPropertiesFileis never defined. This causes the build to fail on Gradle 8+.The
app/build.gradlefile in the same example already uses the correct approach viaproject.findProperty(...), so the root file should follow the same pattern for consistency and compatibility.Fix
Replace:
with:
in: