Gradle: Added support for dynamic SDK versions.

Signed-off-by: Vincent de Smet <vincent.desmet@appstrakt.com>