123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- apply plugin: 'com.android.application'
- apply plugin: 'org.greenrobot.greendao'
- apply plugin: 'kotlin-android'
- android {
- ndkVersion "24.0.8215888"
- signingConfigs {
- release {
- storeFile file('D:\\Code\\TYuan\\keystore.jks')
- storePassword '1122334455'
- keyAlias 'keystore'
- keyPassword '1122334455'
- }
- }
- compileSdkVersion COMPILE_SDK_VERSION as int
- buildToolsVersion BUILD_TOOLS_VERSION
- defaultConfig {
- applicationId "com.tofly.dewater"
- minSdkVersion MIN_SDK_VERSION
- targetSdkVersion TARGET_SDK_VERSION as int
- versionCode 15
- versionName "1.5"
- flavorDimensions "versionCode"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- ndk {
-
- abiFilters 'armeabi-v7a' , 'armeabi'
-
- }
-
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- }
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
- }
- buildFeatures {
- viewBinding = true
- dataBinding = true
- }
- greendao {
- schemaVersion 47
- daoPackage 'com.tofly.dewater.greenDao.db'
-
- targetGenDir 'src/main/java'
- generateTests false
- targetGenDirTests 'src/main/java'
- }
- productFlavors {
- develop {}
- }
- android.applicationVariants.all { variant ->
- variant.outputs.all { output ->
- def outputFile = output.outputFile
- if (outputFile != null && outputFile.name.endsWith('.apk')) {
- if (variant.buildType.name.equals('release')) {
- outputFileName = "rs_route-${defaultConfig.versionName}.apk"
- } else if (variant.buildType.name.equals('debug')) {
- outputFileName = "rs_route-${defaultConfig.versionName}.apk"
- }
- }
- def fileName = "rs_route-${variant.versionName}.apk"
- outputFileName = fileName
- }
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
- implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
- implementation files('libs\\arcgis-android-100.9.0.aar')
- implementation files('libs\\json-lib-2.1-jdk15.jar')
- implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- implementation files('libs\\com.supermap.data_v1021.jar')
- implementation files('libs\\com.supermap.mapping_v1021.jar')
- implementation files('libs\\com.supermap.navigation_v1021.jar')
- implementation files('libs\\com.supermap.services_v1021.jar')
- implementation files('libs\\com.supermap.track_v1021.jar')
- implementation project(path: ':camera')
- implementation files('libs\\commons-httpclient-3.0.1.jar')
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
- implementation project(path: ':latte-core')
- implementation project(path: ':graffiti')
-
- implementation 'com.android.support:design:29.0.0'
-
- implementation 'com.jakewharton:butterknife:10.2.3'
- annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3'
- implementation 'org.greenrobot:greendao:3.3.0'
- implementation 'com.github.yuweiguocn:GreenDaoUpgradeHelper:v2.0.2'
-
-
- implementation 'org.permissionsdispatcher:permissionsdispatcher:4.6.0'
- annotationProcessor "org.permissionsdispatcher:permissionsdispatcher-processor:4.6.0"
- implementation 'org.greenrobot:eventbus:3.2.0'
-
-
-
-
- implementation 'com.jph.takephoto:takephoto_library:4.0.3'
-
-
- implementation 'net.sourceforge.jexcelapi:jxl:2.6.12'
-
- implementation 'com.amap.api:location:5.2.0'
- implementation 'com.amap.api:search:7.7.0'
- implementation 'com.amap.api:navi-3dmap:7.7.1_3dmap7.7.0'
-
- implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
- implementation 'q.rorbin:badgeview:1.1.3'
- implementation 'id.zelory:compressor:2.1.0'
-
- debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7'
- implementation 'jsc.kit.wheel:wheel-view:0.5.4'
- implementation 'com.github.JessYanCoding:AndroidAutoSize:v1.2.1'
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
- implementation 'androidx.core:core-ktx:1.3.1'
- implementation 'com.github.yellowcath:VideoProcessor:2.3.0'
- }
|