aboutsummaryrefslogtreecommitdiffhomepage
path: root/grpc-common/java/android/app/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'grpc-common/java/android/app/build.gradle')
-rw-r--r--grpc-common/java/android/app/build.gradle34
1 files changed, 34 insertions, 0 deletions
diff --git a/grpc-common/java/android/app/build.gradle b/grpc-common/java/android/app/build.gradle
new file mode 100644
index 0000000000..aedf4fe92a
--- /dev/null
+++ b/grpc-common/java/android/app/build.gradle
@@ -0,0 +1,34 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 21
+ buildToolsVersion "21.1.2"
+
+ defaultConfig {
+ applicationId "io.grpc.helloworldexample"
+ minSdkVersion 7
+ targetSdkVersion 21
+ versionCode 1
+ versionName "1.0"
+ }
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+ }
+ }
+}
+
+dependencies {
+ compile 'com.android.support:appcompat-v7:21.0.3'
+ compile 'com.google.code.findbugs:jsr305:3.0.0'
+ compile 'com.squareup.okhttp:okhttp:2.2.0'
+ compile 'com.google.guava:guava:18.0'
+
+ // You need to build the https://github.com/grpc/grpc-java
+ // to obtain these libraries below.
+ compile 'io.grpc:grpc-core:0.1.0-SNAPSHOT'
+ compile 'io.grpc:grpc-protobuf-nano:0.1.0-SNAPSHOT'
+ compile 'io.grpc:grpc-okhttp:0.1.0-SNAPSHOT'
+ compile 'io.grpc:grpc-stub:0.1.0-SNAPSHOT'
+}