Closed jamesbluecrow closed 1 year ago
Hi @jamesbluecrow and thanks for opening this issue.
Indeed, the message is misleading as DATADOG_API_KEY
only works as an environment variable for now. We'll update or plugin to take into account gradle properties too.
Describe what happened Running
./gradlew uploadMappingRelease
fails as if the key property was not declared unless renamed toDD_API_KEY
.Error message:
Steps to reproduce the issue: Declare
DATADOG_API_KEY=XXX
in your.gradle/gradle.properties
file Run./gradlew uploadMappingRelease
Describe what you expected: The task should succeed but it fails.