diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 8aa7d28..b98893b 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -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") } } }