123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- apply from: rootProject.file('cc-settings.gradle')
- apply from: rootProject.file('common-build.gradle')
- android {
- compileSdkVersion rootProject.target_sdk_version
- defaultConfig {
- minSdkVersion rootProject.min_sdk_version
- targetSdkVersion rootProject.target_sdk_version
- versionCode rootProject.application_version_code
- versionName rootProject.application_version_name
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- android.buildFeatures {
- dataBinding = true
- viewBinding = false
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation project(':base')
- implementation 'com.github.chrisbanes:PhotoView:2.0.0'
- //图片/视频选择、预览、编辑与拍照
- implementation 'com.github.guoxiaoxing:phoenix:1.0.15'
- //选填 - 图片压缩,开启功能:Phoenix.with().enableCompress(true),获取结果:MediaEntity.getCompressPath()
- implementation 'com.github.guoxiaoxing:phoenix-compress-picture:1.0.15'
- //选填 - 视频压缩,开启功能:Phoenix.with().enableCompress(true),获取结果:MediaEntity.getCompressPath()
- implementation 'com.github.guoxiaoxing:phoenix-compress-video:1.0.15'
- }
|