We're working on this for future releases. For now you can:
- Copy the code below into GlympseApiLite/build.gradle
- Add the following two lines to your main settings.gradle file and update the second line with the location of the GlympseApiLite directory
- include ':GlympseApiLite'
- project(':GlympseApiLite').projectDir = new File('../GlympseApiLite')
Enjoy Android Studio!
apply plugin: 'android-library'
android {
compileSdkVersion 21
buildToolsVersion '20'
defaultConfig {
minSdkVersion 5
targetSdkVersion 21
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
}
}
dependencies {
compile 'com.android.support:support-v4:21.+'
compile fileTree(dir: 'libs', include: ['Glympse*.jar'])
}