@@ -21,7 +21,7 @@ android {
2121 signingConfigs {
2222 create(" release" ) {
2323 storeFile = file(" keystore-botox.jks" )
24- storePassword = System .getenv(" KEYSTORE_PASSWORD" )
24+ storePassword = System .getenv(" KEYSTORE_PASSWORD" ) // Use consistent secrets
2525 keyAlias = System .getenv(" KEY_ALIAS" )
2626 keyPassword = System .getenv(" KEY_PASSWORD" )
2727 }
@@ -37,6 +37,12 @@ android {
3737 signingConfig = signingConfigs.getByName(" release" )
3838 }
3939 }
40+
41+ packagingOptions {
42+ jniLibs.useLegacyPackaging = false // Normalize JNI lib packaging
43+ resources.excludes.add(" META-INF/**" ) // Exclude unnecessary metadata files
44+ }
45+
4046 compileOptions {
4147 sourceCompatibility = JavaVersion .VERSION_1_8
4248 targetCompatibility = JavaVersion .VERSION_1_8
@@ -47,7 +53,6 @@ android {
4753}
4854
4955dependencies {
50-
5156 implementation(" androidx.core:core-ktx:1.13.1" )
5257 implementation(" androidx.appcompat:appcompat:1.7.0" )
5358 implementation(" com.google.android.material:material:1.12.0" )
@@ -56,15 +61,13 @@ dependencies {
5661 androidTestImplementation(" androidx.test.ext:junit:1.2.1" )
5762 androidTestImplementation(" androidx.test.espresso:espresso-core:3.6.1" )
5863
59-
60- // Retrofit ve GSON dönüştürücüsü için bağımlılıklar
64+ // Retrofit and GSON
6165 implementation(" com.squareup.retrofit2:retrofit:2.9.0" )
6266 implementation(" com.squareup.retrofit2:converter-gson:2.9.0" )
6367
64- // OkHttp ve Logging Interceptor için bağımlılıklar
68+ // OkHttp and Logging Interceptor
6569 implementation(" com.squareup.okhttp3:okhttp:4.9.0" )
6670 implementation(" com.squareup.okhttp3:logging-interceptor:4.9.0" )
6771
6872 implementation(" com.google.code.gson:gson:2.8.8" )
69-
70- }
73+ }
0 commit comments