apply plugin: 'com.android.application'

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "com.zyc.zcontrol"
        minSdkVersion 21
        targetSdkVersion 28
        versionCode 55
        versionName "v1.12.3"
        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 "io.noties.markwon:core:4.6.2"
    implementation "io.noties.markwon:ext-strikethrough:4.6.2"
    implementation "io.noties.markwon:ext-tables:4.6.2"
    implementation "io.noties.markwon:ext-tasklist:4.6.2"
    implementation "io.noties.markwon:image:4.6.2"
    implementation 'io.noties.markwon:image-glide:4.6.2'
    //implementation project(':esptouch')

    //EasyLink  广播组播同时发的版本
    //implementation 'io.fogcloud.sdk:easylinkv3:'


    implementation project(':LineTable')
}
