Hi Sandeep,
If you compile using gradle, it will automatically compile in the GCM and other dependencies our CleverTap SDK has. If you just compile the JAR file, it will not automatically add these dependencies.
Hope that clarifies your question.
Thanks,
Support.