You can add remote dependencies in Gradle usign this structure:
compile 'group:name:version'
or this alternative syntax:
compile group: 'xxx', name: 'xxxxx', version: 'xxxx'
For example:
compile 'com.android.support:appcompat-v7:24.1.0'
The compile 'com.android.support:appcompat-v7:24.1.0
' line declares a dependency on version 24.1.0 of the Android Support Library.