| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- apply plugin: 'com.android.application'
- apply plugin: 'com.getkeepsafe.dexcount'
- android {
- compileSdkVersion rootProject.ext.android.compileSdkVersion
- buildToolsVersion rootProject.ext.android.buildToolsVersion
- defaultConfig {
- applicationId "com.yingtang.devicemanager"
- minSdkVersion rootProject.ext.android.minSdkVersion
- targetSdkVersion rootProject.ext.android.targetSdkVersion
- versionCode 1
- versionName "v1.0"
- multiDexEnabled true
- ndk {
- abiFilters "armeabi", "armeabi-v7a", "x86", "mips", "x86_64", "mips64"
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- zipAlignEnabled true //Zipalign优化
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- useLibrary 'org.apache.http.legacy'
- lintOptions {
- checkReleaseBuilds false
- abortOnError false
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ['src/main/jniLibs']
- }
- }
- packagingOptions {
- exclude 'META-INF/LICENSE.txt'
- exclude 'META-INF/NOTICE.txt'
- }
- signingConfigs {
- pda_storage {
- keyAlias 'key_dm'
- keyPassword 'abc123'
- storeFile file('C:/sigin/dm.jks')
- storePassword 'abc123'
- }
- }
- }
- repositories {
- flatDir {
- dirs 'libs'
- }
- }
- buildscript {
- repositories {
- mavenCentral()
- }
- dependencies {
- classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.4'
- }
- }
- dependencies {
- api fileTree(include: ['*.jar'], dir: 'libs')
- testImplementation deps.junit
- implementation deps.appcompatV7
- implementation deps.supportV4
- implementation deps.design
- implementation(deps.stetho) {
- force = true
- }
- implementation deps.jodatime
- implementation deps.systembartint
- implementation deps.photoView
- implementation deps.tagGroup
- // implementation deps.analytics
- implementation deps.activityOnCrash
- implementation deps.stickyListHeaders
- implementation deps.stickyGridHeaders
- implementation deps.materialDialogs
- implementation deps.okhttp
- implementation 'com.android.support.constraint:constraint-layout:1.0.2'
- // api project(':common')
- // api project(':apptasks')
- //api project(':appmessages')
- // api project(':network')
- // api project(':imageload')
- //api project(':applogin')
- // api project(':appcontact')
- //api project(':appme')
- api project(':appworks')
- //api project(':appbooking')
- //api project(':appmusic')
- //api project(':apputils')
- // implementation(name: 'autoupdatesdk-release', ext: 'aar')
- }
- dexcount {
- format = "json"
- includeClasses = false
- includeFieldCount = true
- includeTotalMethodCount = false
- orderByMethodCount = false
- verbose = false
- maxTreeDepth = Integer.MAX_VALUE
- teamCityIntegration = false
- enableForInstantRun = false
- }
|