function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Perry HoekstraPerry Hoekstra 

Salesforce Android SDK available for Gradle?

Is the Salesforce Android SDK libraries available through Gradle?  By this I mean something along the lines of:

dependencies { 
    compile 'com.salesforce:smartsync:3.2.0' 

in a build.gradle file. Or, do you have to:

1) download the Salesforce SDK from Github
2) Import into Android Studio
3) Build the necessary *.jar files
4) Add the *.jar files to an existing Android Studio projects 'libs' directory

Unfortunately, there is no information on the website that discusses integrating the Salesforce SDK into Android Studio.
Hi Perry -
Gradle is available for native apps in SDK 3.3. There has been some recent discussion around this on Twitter, from our SDK Product Manager - you might want to check out the thread.
Perry HoekstraPerry Hoekstra
I took a look and unfortunately 'Clone GitHub repo,import the workspace in Android Studio and work' is not what I was looking for and that is what the developer (Jared Banyard) replying to Eugene Oksman also pointed out.  We are looking for a single line dependency such as: 

dependencies { 
    compile 'com.salesforce:salesforce-sdk:3.3.0' 

Not having to pull down the entire GitHub repository and manage all the dependencies (such as Cordova which is a bit of pain as I am working natively).
Steve ThistleSteve Thistle
I noticed this old post. Just thought I would point out that as of 5.0.1 Salesforce Mobile Sdk is available as a Maven dependency