What is the replacement for "com.adobe.granite.license. ProductInfoProvider" API
As per https://developer.adobe.com/experience-manager/reference-materials/cloud-service/javadoc/com/adobe/granite/license/ProductInfo.html `com.adobe.granite.license.ProductInfo` API is deprecated.
What is the replacement? I just want to get the version number of the AEM in my code. Currently I get it using `ProductInfo.getVersion` method.
I currently use the version number to determine if my application is running in AEM cloud service or 6.5.x AEM. Any other Java API which can determine that is also should work for me.
Could somebody suggest an alternate way to get the version number or a way to determine in Java at runtime if its cloud or 6.5.x version of AEM?
Thanks
Abhijeet