Closed Hugobsb closed 1 year ago
When the API Key variable was being set at build.gradle, the empty check API_KEY != "" was not working because it was returning "extension 'curseforge'". The problem has been fixed by using safe navigation to refer to the property apiKey directly.
build.gradle
API_KEY != ""
"extension 'curseforge'"
apiKey
project.findProperty
Context
When the API Key variable was being set at
build.gradle
, the empty checkAPI_KEY != ""
was not working because it was returning"extension 'curseforge'"
. The problem has been fixed by using safe navigation to refer to the propertyapiKey
directly.Images for reference
The problem
The return of
project.findProperty
After the fix