Could not able to configure Jenkins job for Gradle subfolder in git repository. This works in Maven
I think first you should change the path to project root where gradlew file exists (inside "A")And then run the required commands:
cd \Agradlew cleangradlew assemble