Newer
Older
smartwellapp / app / build.gradle
Pengxh on 29 May 2021 2 KB 兼容Android 10
apply plugin: 'com.android.application'

android {
    compileSdkVersion 29
    buildToolsVersion "29.0.3"
    defaultConfig {
        applicationId "com.casic.smartwellapp"
        minSdkVersion 17
        targetSdkVersion 29
        versionCode 7
        versionName "v1.1.1"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        multiDexEnabled true
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    packagingOptions {
        exclude 'META-INF/ASL2.0'
        exclude 'META-INF/DEPENDENCIES.txt'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/NOTICE.txt'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/DEPENDENCIES'
        exclude 'META-INF/notice.txt'
        exclude 'META-INF/license.txt'
        exclude 'META-INF/dependencies.txt'
        exclude 'META-INF/LGPL2.1'
        exclude 'META-INF/services/javax.annotation.processing.Processor'
        exclude 'META-INF/rxjava.properties'
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'androidx.appcompat:appcompat:1.2.0'
    implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test:runner:1.2.0'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
    implementation files('libs/OauthLoginJar_V1.0.jar')
    implementation 'com.lbx:xTools:2.1.2'
    implementation 'org.bouncycastle:bcmail-jdk15on:1.59'
    implementation 'org.apache.commons:commons-lang3:3.1'
    implementation 'com.alibaba:fastjson:1.2.68'
    implementation files('libs/guava-17.0.jar')
    implementation files('libs/androidsvg-1.2.2-beta-1.jar')
    implementation files('libs/EzLicenseAPI4Android.jar')
    implementation files('libs/EzMapApiForAndnroid.3.1.0.2.jar')
    implementation files('libs/EzMapServiceApiForAndroid-1.0.3.0.jar')
    implementation files('libs/EzRouterAPIForAndroid.v1.0.1.201206151022.jar')
    implementation files('libs/jts-1.13.jar')
    implementation files('libs/kxml2-2.3.0.jar')
    implementation files('libs/jackson-mapper-lgpl-1.9.5.jar')
    implementation files('libs/jackson-core-lgpl-1.9.5.jar')
}