- Update versionCode 12 → 14, versionName 1.3(p) → 1.4(p) - Update pubspec.yaml version to 1.4.0+14 - Add CHANGELOG.md with full version history - Update README.md: version badge + changelog section - Desktop Contribute Dashboard rebuilt to match web version - Contributor Dashboard title, 3-tab nav (Contribute/Leaderboard/Achievements) - Two-column submit form, tier milestone progress bar - Desktop leaderboard with podium, filters, rank table (green points) - Desktop achievements 3-column badge grid - Inline Reward Shop with RP balance - Gamification feature module (EP, RP, leaderboard, achievements, shop) - Profile screen redesigned to match web app layout with animations - Home screen bottom sheet date filter chips - Updated API endpoints, login/event detail screens, theme colors - Added Gilroy font suite, responsive layout improvements
64 lines
2.0 KiB
Kotlin
64 lines
2.0 KiB
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("kotlin-android")
|
|
id("dev.flutter.flutter-gradle-plugin")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.sicherhaven.eventify"
|
|
compileSdk = flutter.compileSdkVersion
|
|
ndkVersion = flutter.ndkVersion
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_11.toString()
|
|
}
|
|
|
|
defaultConfig {
|
|
applicationId = "com.sicherhaven.eventify"
|
|
minSdk = flutter.minSdkVersion
|
|
targetSdk = flutter.targetSdkVersion
|
|
versionCode = 14
|
|
versionName = "1.4(p)"
|
|
}
|
|
|
|
// ---------- SIGNING CONFIG ----------
|
|
signingConfigs {
|
|
create("release") {
|
|
// path relative to android/app/
|
|
storeFile = file("upload-keystore-new.jks")
|
|
|
|
// Read from gradle.properties or environment variables.
|
|
@Suppress("UNCHECKED_CAST")
|
|
val storePwd = (project.findProperty("KEYSTORE_PASSWORD") ?: System.getenv("KEYSTORE_PASSWORD")) as String?
|
|
val alias = (project.findProperty("KEY_ALIAS") ?: System.getenv("KEY_ALIAS")) as String?
|
|
val keyPwd = (project.findProperty("KEY_PASSWORD") ?: System.getenv("KEY_PASSWORD")) as String?
|
|
|
|
// If any are null/empty the build will fail; keep empty strings to avoid null issues,
|
|
// but ensure you provided values in gradle.properties or env.
|
|
storePassword = storePwd ?: ""
|
|
keyAlias = alias ?: ""
|
|
keyPassword = keyPwd ?: ""
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
// Use the release signing config created above
|
|
signingConfig = signingConfigs.getByName("release")
|
|
|
|
isMinifyEnabled = false
|
|
isShrinkResources = false
|
|
// proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
|
|
}
|
|
}
|
|
}
|
|
|
|
flutter {
|
|
source = "../.."
|
|
}
|