50 lines
1.3 KiB
Kotlin
50 lines
1.3 KiB
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("kotlin-android")
|
|
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
|
|
id("dev.flutter.flutter-gradle-plugin")
|
|
}
|
|
|
|
android {
|
|
namespace = "net.broodjeaap.ohthatsa"
|
|
compileSdk = 36
|
|
ndkVersion = "27.0.12077973"
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_11.toString()
|
|
}
|
|
|
|
defaultConfig {
|
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
|
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 = 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 {
|
|
signingConfig = signingConfigs.getByName("release")
|
|
}
|
|
}
|
|
}
|
|
|
|
flutter {
|
|
source = "../.."
|
|
}
|