| | |
| | | import java.text.SimpleDateFormat |
| | | import java.util.Date |
| | | |
| | | plugins { |
| | | id("com.android.application") |
| | | id("org.jetbrains.kotlin.android") |
| | |
| | | applicationId = "com.example.smart" |
| | | minSdk = 28 |
| | | targetSdk = 34 |
| | | versionCode = 1103 |
| | | versionName = "1.1.03" |
| | | versionCode = 1104 |
| | | versionName = "1.1.04" |
| | | |
| | | testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
| | | vectorDrawables { |
| | |
| | | dataBinding = true |
| | | } |
| | | |
| | | applicationVariants.configureEach { |
| | | outputs.configureEach { |
| | | if (this is com.android.build.gradle.internal.api.BaseVariantOutputImpl) { |
| | | outputFileName = "岱观智评-${buildType.name}-${versionName}-${ |
| | | SimpleDateFormat("yyyy-MM-dd").format(Date()) |
| | | }.apk" |
| | | } |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | dependencies { |
| | |
| | | |
| | | implementation(project(mapOf("path" to ":basecore"))) |
| | | implementation(project(mapOf("path" to ":waterdrop"))) |
| | | implementation(project(mapOf("path" to ":imageselector"))) |
| | | // implementation(project(mapOf("path" to ":imageselector"))) |
| | | implementation("com.google.android.material:material:1.10.0") |
| | | implementation("androidx.legacy:legacy-support-v4:1.0.0") |
| | | implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.6.1") |
| | |
| | | implementation("com.github.loperSeven:DateTimePicker:0.1.0") |
| | | |
| | | //implementation("com.github.crazyandcoder:citypicker:6.0.2") |
| | | implementation(project(":imageselector")) |
| | | // implementation(project(":imageselector")) |
| | | implementation("com.burhanrashid52:photoeditor:3.0.2") |
| | | |
| | | testImplementation("junit:junit:4.13.2") |
| | |
| | | // dialog |
| | | implementation("com.afollestad.material-dialogs:core:3.3.0") |
| | | implementation("com.afollestad.material-dialogs:bottomsheets:3.3.0") |
| | | // PictureSelector 基础 (必须) |
| | | implementation("io.github.lucksiege:pictureselector:v3.11.2") |
| | | // 图片压缩 (按需引入) |
| | | implementation("io.github.lucksiege:compress:v3.11.2") |
| | | // 图片裁剪 (按需引入) |
| | | implementation("io.github.lucksiege:ucrop:v3.11.2") |
| | | // 自定义相机 (按需引入) |
| | | implementation("io.github.lucksiege:camerax:v3.11.2") |
| | | } |