Skip to content

Commit

Permalink
externalNativeBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxushka committed Aug 7, 2024
1 parent 2f102bb commit 540c2be
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions chameleonultragui/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,26 @@ android {
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
}

buildTypes {
release {
if (keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']).exists() : false) {
println "Info: upload-keystore.jks found. Signing for release."
signingConfig signingConfigs.release
}
else {
println "Warning: upload-keystore.jks not found. Signing for debug."
signingConfig signingConfigs.debug
}
}
}
buildTypes {
release {
if (keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']).exists() : false) {
println "Info: upload-keystore.jks found. Signing for release."
signingConfig signingConfigs.release
}
else {
println "Warning: upload-keystore.jks not found. Signing for debug."
signingConfig signingConfigs.debug
}
}
}

externalNativeBuild {
cmake {
path "../../src/CMakeLists.txt"
}
}
}

flutter {
Expand Down

0 comments on commit 540c2be

Please sign in to comment.