-
Notifications
You must be signed in to change notification settings - Fork 28
/
zinc_adbOptions.gradle
40 lines (35 loc) · 1.13 KB
/
zinc_adbOptions.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
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion "29.0.1"
defaultConfig {
applicationId "com.zinc.gradlestudy"
minSdkVersion 19
targetSdkVersion 28
versionCode 10000
versionName "1.1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
// terminal 输入 adb 可以查看
adbOptions {
// apk 安装时候可选参数
// adb install -d
installOptions '-d'
// adb 执行超时时间 毫秒
timeOutInMs 5 * 1000
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
}