-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
build.gradle
50 lines (43 loc) · 1.27 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
apply plugin: 'com.android.library'
description = "gRPC: Cronet Android"
buildscript {
repositories {
google()
jcenter()
}
dependencies { classpath 'com.android.tools.build:gradle:3.3.0' }
}
allprojects {
repositories {
google()
jcenter()
mavenLocal()
}
}
android {
compileSdkVersion 27
defaultConfig {
minSdkVersion 14
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
debug { minifyEnabled false }
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
testOptions { unitTests { includeAndroidResources = true } }
lintOptions { disable 'InvalidPackage' }
}
dependencies {
implementation 'io.grpc:grpc-core:1.22.3-SNAPSHOT' // CURRENT_GRPC_VERSION
testImplementation 'io.grpc:grpc-testing:1.22.3-SNAPSHOT' // CURRENT_GRPC_VERSION
implementation "org.chromium.net:cronet-embedded:66.3359.158"
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.25.1'
testImplementation "org.robolectric:robolectric:3.5.1"
}