fix build

This commit is contained in:
greenart7c3 2024-06-24 07:36:11 -03:00
parent a6bc40515b
commit 6eb0f153fa
No known key found for this signature in database
GPG Key ID: 885822EED3A26A6D
2 changed files with 16 additions and 4 deletions

View File

@ -9,6 +9,7 @@ android {
defaultConfig {
minSdk 26
targetSdk 34
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
@ -16,16 +17,26 @@ android {
buildTypes {
release {
minifyEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
create("benchmark") {
initWith(getByName("release"))
signingConfig signingConfigs.debug
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
freeCompilerArgs += "-Xstring-concat=inline"
}
packagingOptions {
resources {
excludes += ['**/libscrypt.dylib']
}
}
}

View File

@ -55,6 +55,7 @@ dependencies {
androidTestImplementation libs.androidx.benchmark.junit4
androidTestImplementation project(path: ':quartz')
androidTestImplementation project(path: ':commons')
androidTestImplementation project(path: ':ammolite')
androidTestImplementation libs.androidx.compose.foundation