build locally: manual-only CI, fix kts imports, pin Gradle 9.1/AGP 9.0/Kotlin 2.2.20 for Flutter 3.47.4, un-track keystore
This commit is contained in:
1 parent
1a2687d5a2
commit
f09e82d941
7 files changed
+16
-9
No files matched your search
@@ -1,8 +1,6 @@
|
||||
name: Build Release AAB
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: ['v*']
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -22,7 +20,7 @@ jobs:
|
||||
- name: Setup Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: '3.27.1'
|
||||
flutter-version: '3.47.4'
|
||||
channel: 'stable'
|
||||
cache: true
|
||||
|
||||
|
||||
@@ -42,3 +42,8 @@ app.*.map.json
|
||||
/android/app/debug
|
||||
/android/app/profile
|
||||
/android/app/release
|
||||
|
||||
# Keystore and signing (local-only, never commit)
|
||||
*.keystore
|
||||
*.jks
|
||||
android/key.properties
|
||||
@@ -5,10 +5,13 @@ plugins {
|
||||
id("dev.flutter.flutter-gradle-plugin")
|
||||
}
|
||||
|
||||
import java.util.Properties
|
||||
import java.io.FileInputStream
|
||||
|
||||
val keystorePropertiesFile = rootProject.file("key.properties")
|
||||
val keystoreProperties = java.util.Properties()
|
||||
val keystoreProperties = Properties()
|
||||
if (keystorePropertiesFile.exists()) {
|
||||
keystoreProperties.load(java.io.FileInputStream(keystorePropertiesFile))
|
||||
keystoreProperties.load(FileInputStream(keystorePropertiesFile))
|
||||
}
|
||||
|
||||
android {
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-all.zip
|
||||
@@ -8,4 +8,5 @@
|
||||
storePassword=CHANGE_ME_STORE_PASSWORD
|
||||
keyPassword=CHANGE_ME_KEY_PASSWORD
|
||||
keyAlias=siab
|
||||
storeFile=../siab-release.keystore
|
||||
# NOTE: storeFile is resolved relative to android/app/, so ../../ points to the repo root.
|
||||
storeFile=../../siab-release.keystore
|
||||
@@ -19,8 +19,8 @@ pluginManagement {
|
||||
|
||||
plugins {
|
||||
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
|
||||
id("com.android.application") version "8.4.0" apply false
|
||||
id("org.jetbrains.kotlin.android") version "2.0.0" apply false
|
||||
id("com.android.application") version "9.0.0" apply false
|
||||
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
|
||||
}
|
||||
|
||||
include(":app")
|
||||
Binary file not shown.
Reference in new issue
Block a user