| apply plugin: 'com.android.library' |
| |
| description = 'gRPC: Android' |
| |
| buildscript { |
| repositories { |
| google() |
| jcenter() |
| mavenCentral() |
| maven { |
| url "https://plugins.gradle.org/m2/" |
| } |
| } |
| dependencies { |
| classpath 'com.android.tools.build:gradle:3.0.1' |
| classpath "net.ltgt.gradle:gradle-errorprone-plugin:0.0.13" |
| } |
| } |
| |
| apply plugin: "net.ltgt.errorprone" |
| |
| android { |
| compileSdkVersion 27 |
| defaultConfig { |
| minSdkVersion 14 |
| targetSdkVersion 27 |
| versionCode 1 |
| versionName "1.0" |
| testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
| } |
| testOptions { |
| unitTests { |
| includeAndroidResources = true |
| } |
| } |
| lintOptions { |
| abortOnError false |
| } |
| } |
| |
| repositories { |
| mavenCentral() |
| mavenLocal() |
| } |
| |
| dependencies { |
| implementation 'io.grpc:grpc-core:1.13.0-SNAPSHOT' // CURRENT_GRPC_VERSION |
| testImplementation 'io.grpc:grpc-okhttp:1.13.0-SNAPSHOT' // CURRENT_GRPC_VERSION |
| |
| testImplementation 'junit:junit:4.12' |
| testImplementation 'org.robolectric:robolectric:3.7.1' |
| testImplementation 'com.google.truth:truth:0.39' |
| } |