2024-05-29 22:58:26 +00:00
|
|
|
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"
|
|
|
|
}
|
|
|
|
|
2024-12-11 15:08:53 +00:00
|
|
|
def keystoreProperties = new Properties()
|
|
|
|
def keystorePropertiesFile = rootProject.file('key.properties')
|
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
}
|
|
|
|
|
2024-05-29 22:58:26 +00:00
|
|
|
android {
|
2024-09-06 22:02:01 +00:00
|
|
|
namespace = "de.swgross.calorimeter"
|
2024-05-29 22:58:26 +00:00
|
|
|
compileSdk = flutter.compileSdkVersion
|
|
|
|
ndkVersion = flutter.ndkVersion
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultConfig {
|
2024-09-06 22:02:01 +00:00
|
|
|
applicationId = "de.swgross.calorimeter"
|
2024-05-29 22:58:26 +00:00
|
|
|
minSdk = flutter.minSdkVersion
|
|
|
|
targetSdk = flutter.targetSdkVersion
|
2024-12-07 16:39:19 +00:00
|
|
|
versionCode = 1
|
2024-12-10 22:36:30 +00:00
|
|
|
versionName = "1.0.1"
|
2024-05-29 22:58:26 +00:00
|
|
|
}
|
|
|
|
|
2024-12-11 15:08:53 +00:00
|
|
|
signingConfigs {
|
|
|
|
release {
|
|
|
|
keyAlias = keystoreProperties['keyAlias']
|
|
|
|
keyPassword = keystoreProperties['keyPassword']
|
|
|
|
storeFile = keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
|
|
|
|
storePassword = keystoreProperties['storePassword']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-29 22:58:26 +00:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2024-12-11 15:08:53 +00:00
|
|
|
signingConfig = signingConfigs.release
|
2024-05-29 22:58:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
flutter {
|
|
|
|
source = "../.."
|
|
|
|
}
|