You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to set a particular string value to null. The concept is if a certain gradle property does not exist, then the value should be set to null.
buildConfigField 'String', 'deviceId', null
Every time I do that, BuildConfig.java displays it like this:
public static final String deviceId = "null";
This makes it tough to do null checking, I have to do a literal String null check
The text was updated successfully, but these errors were encountered:
jfcameron
added a commit
to jfcameron/gradle-buildconfig-plugin
that referenced
this issue
Jul 6, 2018
I am trying to set a particular string value to null. The concept is if a certain gradle property does not exist, then the value should be set to null.
Every time I do that, BuildConfig.java displays it like this:
This makes it tough to do null checking, I have to do a literal String null check
The text was updated successfully, but these errors were encountered: