dependencies { compile '{@= groupId @}:spring-cloud-spring-service-connector:{@= version @}' // If you intend to deploy the app on Cloud Foundry, add the following compile '{@= groupId @}:spring-cloud-cloudfoundry-connector:{@= version @}' // If you intend to deploy the app on Heroku, add the following compile '{@= groupId @}:spring-cloud-heroku-connector:{@= version @}' // It is okay to add more than one cloud connector; the right one will // be picked during runtime }