fix build
This commit is contained in:
parent
89e67c369e
commit
f38ff3b862
@ -26,13 +26,8 @@ apply plugin: 'kotlin-android'
|
|||||||
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
||||||
|
|
||||||
def keystoreProperties = new Properties()
|
def keystoreProperties = new Properties()
|
||||||
def keystorePropertiesFile = rootProject.file("$System.env.ANDROID_SIGNING")
|
def keystorePropertiesFile = rootProject.file("$System.env.HOME/keys/filc3.properties")
|
||||||
if (keystorePropertiesFile.exists()) {
|
|
||||||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||||
} else {
|
|
||||||
keystoreProperties.load(new FileInputStream(rootProject.file("signing/signing.properties")))
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion rootProject.ext.compileSdkVersion
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
||||||
|
Binary file not shown.
@ -1,4 +0,0 @@
|
|||||||
keyAlias=test
|
|
||||||
keyPassword=test123
|
|
||||||
storeFile=../signing/signing.keystore
|
|
||||||
storePassword=test123
|
|
@ -9,12 +9,5 @@ function get_version
|
|||||||
cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1
|
cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1
|
||||||
end
|
end
|
||||||
|
|
||||||
set DEFAULT_KEY $HOME/keys/filc3.properties
|
flutter build apk --release --dart-define=APPVER=(get_version) --no-tree-shake-icons && \
|
||||||
|
|
||||||
if test -e $DEFAULT_KEY
|
|
||||||
echo Using \"$DEFAULT_KEY\" for signing
|
|
||||||
set -x ANDROID_SIGNING $DEFAULT_KEY
|
|
||||||
end
|
|
||||||
|
|
||||||
flutter build apk --release --dart-define=APPVER=(get_version) --no-tree-shake-icons
|
|
||||||
cp -v "build/app/outputs/flutter-apk/app-release.apk" ~/"Desktop/hu.filc.naplo_"(get_version_bn).apk
|
cp -v "build/app/outputs/flutter-apk/app-release.apk" ~/"Desktop/hu.filc.naplo_"(get_version_bn).apk
|
||||||
|
@ -3,7 +3,7 @@ description: "Nem hivatalos e-napló alkalmazás az e-Kréta rendszerhez"
|
|||||||
homepage: https://filcnaplo.hu
|
homepage: https://filcnaplo.hu
|
||||||
publish_to: "none"
|
publish_to: "none"
|
||||||
|
|
||||||
version: 3.4.0+170
|
version: 3.4.0+171
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.16.0-80.1.beta <3.0.0"
|
sdk: ">=2.16.0-80.1.beta <3.0.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user