I tested for rootProject.hasProperty(‘premiumRepoUser’) which is displaying ‘true’ while running the application and taking the license key.
But while generating the war from Command Prompt rootProject.hasProperty(‘premiumRepoUser’) this is displaying ‘false’ and throwing exception.
Please find the below attached images for reference.
If your project uses Premium Add-ons, and you are starting build tasks outside Studio, pass the Premium Add-ons repository credentials in the command line arguments with -P prefix:
Can you please say me At which location I will be able to get the war?
Because if i build the war with gradlew.bat extWarBuilding
then I can see my generated war in C:\Users\Sushma\Desktop\Project\project_cloud\build\distributions\war