forked from a2633063/SmartControl_Android_MQTT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (44 loc) · 1.94 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.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.zyc.zcontrol"
minSdkVersion 21
targetSdkVersion 28
versionCode 53
versionName "v1.12.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
debug {
minifyEnabled false
signingConfig signingConfigs.debug
applicationIdSuffix '.debug' //在applicationId后面添加.debug
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
resValue "string", "app_name", "@string/app_name_debug"
resValue "mipmap", "ic_launcher", "@mipmap/debug_ic_launcher"
resValue "mipmap", "ic_launcher_round", "@mipmap/debug_ic_launcher_round"
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
resValue "string", "app_name", "@string/app_name_release"
resValue "mipmap", "ic_launcher", "@mipmap/release_ic_launcher"
resValue "mipmap", "ic_launcher_round", "@mipmap/release_ic_launcher_round"
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'com.google.android.material:material:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
//implementation 'org.eclipse.paho:org.eclipse.paho.android.service:1.1.1'
implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.5'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
//implementation project(':esptouch')
//EasyLink 广播组播同时发的版本
//implementation 'io.fogcloud.sdk:easylinkv3:'
implementation project(':LineTable')
}