fixed bundle signing
This commit is contained in:
parent
3dcd8079f3
commit
11aa60e7e7
1 changed files with 18 additions and 12 deletions
|
|
@ -6,9 +6,9 @@ plugins {
|
|||
}
|
||||
|
||||
android {
|
||||
namespace = "net.broodjeaap.ohthatsa.ohthatsa"
|
||||
compileSdk = flutter.compileSdkVersion
|
||||
ndkVersion = flutter.ndkVersion
|
||||
namespace = "net.broodjeaap.ohthatsa"
|
||||
compileSdk = 36
|
||||
ndkVersion = "27.0.12077973"
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
|
|
@ -21,20 +21,26 @@ android {
|
|||
|
||||
defaultConfig {
|
||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||
applicationId = "net.broodjeaap.ohthatsa.ohthatsa"
|
||||
applicationId = "net.broodjeaap.ohthatsa"
|
||||
// You can update the following values to match your application needs.
|
||||
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
||||
minSdk = flutter.minSdkVersion
|
||||
targetSdk = flutter.targetSdkVersion
|
||||
versionCode = flutter.versionCode
|
||||
versionName = flutter.versionName
|
||||
minSdk = 33
|
||||
targetSdk = 36
|
||||
versionCode = 3
|
||||
versionName = "2.1.0"
|
||||
}
|
||||
signingConfigs {
|
||||
create("release") {
|
||||
keyAlias = "alias"
|
||||
keyPassword = "password"
|
||||
storeFile = file("path/to/keystore.jks")
|
||||
storePassword = "password"
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
|
||||
release {
|
||||
// TODO: Add your own signing config for the release build.
|
||||
// Signing with the debug keys for now, so `flutter run --release` works.
|
||||
signingConfig = signingConfigs.getByName("debug")
|
||||
signingConfig = signingConfigs.getByName("release")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue