Problem
When compiling the project, a BuildConfigField called DOCSBOTAI_ID is absent which is causing builds to fail.
Proposed Solution
Add wp.docsbotai.id=wordpress to gradle.properties-example so that new contributors have this field in their gradle.properties file when doing the initial setup.
OR
Add DOCSBOTAI_ID manually to build.gradle under productFlavors. This solution will remedy the issue for older contributors (those who have already gone through the setup process) and also be future proof. One downside is that the gradle.properties will lose its importance if these situations pop up in future as its main function is to automate this exact case.
References:
Slack Chat
Problem
When compiling the project, a
BuildConfigFieldcalledDOCSBOTAI_IDis absent which is causing builds to fail.Proposed Solution
Add
wp.docsbotai.id=wordpresstogradle.properties-exampleso that new contributors have this field in theirgradle.propertiesfile when doing the initial setup.OR
Add
DOCSBOTAI_IDmanually to build.gradle under productFlavors. This solution will remedy the issue for older contributors (those who have already gone through the setup process) and also be future proof. One downside is that the gradle.properties will lose its importance if these situations pop up in future as its main function is to automate this exact case.References:
Slack Chat