Skip to content

Commit

Permalink
Change what version of gradle is used and compile options to reduce t…
Browse files Browse the repository at this point in the history
…he size of jni libs.
  • Loading branch information
AniketSK committed Jul 8, 2024
1 parent a6dbbe9 commit e7031f5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ plugins {
alias(libs.plugins.jetbrains.kotlin.android)
}
android {
packagingOptions {
jniLibs {
useLegacyPackaging = true
}
}


signingConfigs {
register("release") {

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
agp = "8.4.0"
agp = "7.4.2"
kotlin = "1.9.0"
coreKtx = "1.13.1"
junit = "4.13.2"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon May 13 12:27:38 IST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit e7031f5

Please sign in to comment.