fix: Use min ffmpeg kit

This commit is contained in:
Myzel394 2023-08-06 18:46:44 +02:00
parent 7a56167b0a
commit 9a6e85ce75
No known key found for this signature in database
GPG Key ID: 79CC92F37B3E1A2B

View File

@ -8,6 +8,12 @@ android {
namespace 'app.myzel394.alibi' namespace 'app.myzel394.alibi'
compileSdk 34 compileSdk 34
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
defaultConfig { defaultConfig {
multiDexEnabled true multiDexEnabled true
applicationId "app.myzel394.alibi" applicationId "app.myzel394.alibi"
@ -22,11 +28,28 @@ android {
} }
} }
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes { buildTypes {
release { release {
minifyEnabled false signingConfig signingConfigs.release
debuggable false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
} }
debug {
applicationIdSuffix ".debug"
debuggable true
}
} }
compileOptions { compileOptions {
coreLibraryDesugaringEnabled true coreLibraryDesugaringEnabled true
@ -75,7 +98,7 @@ dependencies {
annotationProcessor 'com.google.dagger:hilt-compiler:2.46.1' annotationProcessor 'com.google.dagger:hilt-compiler:2.46.1'
implementation "androidx.hilt:hilt-navigation-compose:1.0.0" implementation "androidx.hilt:hilt-navigation-compose:1.0.0"
implementation 'com.arthenica:ffmpeg-kit-full:5.1' implementation 'com.arthenica:ffmpeg-kit-min:5.1'
implementation "androidx.datastore:datastore-preferences:1.0.0" implementation "androidx.datastore:datastore-preferences:1.0.0"