Skip to content

Instantly share code, notes, and snippets.

@ddewaele
Created August 20, 2013 19:44
Show Gist options
  • Select an option

  • Save ddewaele/6286244 to your computer and use it in GitHub Desktop.

Select an option

Save ddewaele/6286244 to your computer and use it in GitHub Desktop.
buildscript {
repositories {
mavenCentral()
maven {url 'http://foursquare-api-java.googlecode.com/svn/repository'}
}
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
}
}
apply plugin: 'android'
repositories {
mavenCentral()
maven {url 'http://foursquare-api-java.googlecode.com/svn/repository'}
}
android {
compileSdkVersion 17
buildToolsVersion "17.0.0"
defaultConfig {
minSdkVersion 8
targetSdkVersion 17
}
}
dependencies {
compile 'com.android.support:support-v4:18.0.0'
compile 'com.google.android.gms:play-services:3.1.36'
compile 'com.google.oauth-client:google-oauth-client:1.16.0-rc'
compile 'com.google.http-client:google-http-client-jackson2:1.16.0-rc'
compile ('fi.foyt:foursquare-api:1.0.2') {
exclude group: 'com.google.appengine', module: 'appengine-api-1.0-sdk'
}
compile 'com.android.support:appcompat-v7:18.0.+'
}
@ddewaele
Copy link
Author

If you don't use maven for your dependencies, you can simply have the following

dependencies {
    compile files('libs/foursquare-api-1.0.2.jar')
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment