plugins { id 'com.android.application' id 'kotlin-android' } android { compileSdk 34 defaultConfig { applicationId "com.dlc.eboard" minSdkVersion 21 targetSdkVersion 34 versionCode 11 versionName "1.1.1-alpha-kuangda" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" ndk { abiFilters "armeabi-v7a"/*, "arm64-v8a", "x86"*/ } } signingConfigs { signing { keyAlias 'winds' keyPassword '039468' storeFile file('../config/winds.jks') storePassword '039468' } } buildTypes { debug { minifyEnabled false multiDexEnabled true signingConfig signingConfigs.signing proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } release { minifyEnabled true multiDexEnabled true signingConfig signingConfigs.signing proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' } kotlin { experimental { coroutines 'enable' } } viewBinding { enabled = true } repositories { flatDir { dirs 'libs' } } namespace 'com.dlc.eboard' applicationVariants.all { variant -> // variant.getPackageApplication().outputDirectory = new File("${rootDir.absolutePath}/Apk") variant.outputs.all { def buildType = variant.buildType.name def buildTime = new Date().format("yyyyMMddHHmm", TimeZone.getDefault()) outputFileName = "Eboard_${buildType}_v${variant.versionCode}_${variant.versionName}_${buildTime}release.apk" } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation project(':HttpCoreLibrary') implementation project(':RcCore') implementation "org.jetbrains.kotlin:kotlin-stdlib:1.6.21" implementation "androidx.core:core-ktx:1.3.1" implementation "androidx.appcompat:appcompat:1.2.0" implementation "androidx.constraintlayout:constraintlayout:2.0.1" implementation "com.google.android.material:material:1.2.1" implementation "androidx.localbroadcastmanager:localbroadcastmanager:1.0.0" implementation "com.github.tbruyelle:rxpermissions:0.11" implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0" implementation "com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4" implementation "com.github.bumptech.glide:glide:4.11.0" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.1" implementation "com.android.support:multidex:1.0.3" implementation "com.tencent.bugly:crashreport:3.4.4" implementation "com.tencent.bugly:nativecrashreport:3.9.2" implementation "org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.0" implementation "org.greenrobot:eventbus:3.2.0" implementation "com.github.bingoogolapple.BGAQRCode-Android:zxing:1.3.8" implementation "com.joanzapata.pdfview:android-pdfview:1.0.4@aar" // CameraX core library using the camera2 implementation def camerax_version = "1.0.1" // The following line is optional, as the core library is included indirectly by camera-camera2 implementation "androidx.camera:camera-core:${camerax_version}" implementation "androidx.camera:camera-camera2:${camerax_version}" // If you want to additionally use the CameraX Lifecycle library implementation "androidx.camera:camera-lifecycle:${camerax_version}" // If you want to additionally use the CameraX View class implementation "androidx.camera:camera-view:1.0.0-alpha20" // If you want to additionally use the CameraX Extensions library implementation "androidx.camera:camera-extensions:1.0.0-alpha20" implementation "com.squareup.leakcanary:leakcanary-android:2.14" implementation "com.github.NodeMedia:NodeMediaClient-Android:2.9.23" implementation(name: 'facedetector-1.0.0', ext: 'aar') implementation 'io.fotoapparat:fotoapparat:2.7.0' implementation(name: 'flowlayout-1.0.0', ext: 'aar') implementation 'com.blankj:utilcodex:1.31.1' }