In build.gradle file I have to define a boolean value
buildConfigField("boolean", "SKIP_SSL_CHECK", "true")
so I want o access it in the network.xml file
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="${SKIP_SSL_CHECK}" /
<debug-overrides>
<trust-anchors>
<certificates src="user" />
</trust-anchors>
</debug-overrides>
</network-security-config>
i want to make that value alter as per the build variant for debug, it should be true and for others, it should be false.
Thanks in advance