diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2015-01-10 14:11:27 -0800 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2015-01-10 14:11:27 -0800 |
commit | d23f92585705942c70e3e4308f800ffe5f416ca9 (patch) | |
tree | 88a31483e0c823a5f05c34aadfaa3b2271d4a620 /example/android/AndroidExample/app/build.gradle | |
parent | 9342e50fcb0f6f44f6f7372a30278a39d63557d8 (diff) |
Added example for Android
Diffstat (limited to 'example/android/AndroidExample/app/build.gradle')
-rw-r--r-- | example/android/AndroidExample/app/build.gradle | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/example/android/AndroidExample/app/build.gradle b/example/android/AndroidExample/app/build.gradle new file mode 100644 index 00000000..54a946ef --- /dev/null +++ b/example/android/AndroidExample/app/build.gradle @@ -0,0 +1,35 @@ +apply plugin: 'com.android.application' + +android { + compileSdkVersion 21 + buildToolsVersion "21.1.1" + + defaultConfig { + applicationId "com.libmailcore.androidexample" + minSdkVersion 21 + targetSdkVersion 21 + versionCode 1 + versionName "1.0" + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } +} + +repositories { + flatDir { + dirs 'libs' + } +} + +dependencies { + compile fileTree(dir: 'libs', include: ['*.jar']) + compile fileTree(dir: 'libs', include: ['*.jar']) + compile(name: 'mailcore2-android-1', ext: 'aar') + compile 'com.android.support:support-v4:21.0.2' + compile 'com.google.android.gms:play-services:6.5.87' + compile 'com.android.support:appcompat-v7:21.0.2' +} |