parent
4a29480ded
commit
cabac017d9
|
@ -23,7 +23,7 @@ pipeline:
|
||||||
- flutter packages get
|
- flutter packages get
|
||||||
- make build-all
|
- make build-all
|
||||||
- mkdir apks
|
- mkdir apks
|
||||||
- mv build/app/outputs/apk/*/*.apk apks
|
- mv build/app/outputs/apk/*/*/*.apk apks
|
||||||
when:
|
when:
|
||||||
event: [ push, tag ]
|
event: [ push, tag ]
|
||||||
|
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -19,12 +19,12 @@ build-all: build-release build-debug build-profile
|
||||||
|
|
||||||
.PHONY: build-release
|
.PHONY: build-release
|
||||||
build-release:
|
build-release:
|
||||||
flutter build apk --release --build-name=$(VERSION)
|
flutter build apk --release --build-name=$(VERSION) --flavor main
|
||||||
|
|
||||||
.PHONY: build-debug
|
.PHONY: build-debug
|
||||||
build-debug:
|
build-debug:
|
||||||
flutter build apk --debug --build-name=$(VERSION)
|
flutter build apk --debug --build-name=$(VERSION) --flavor unsigned
|
||||||
|
|
||||||
.PHONY: build-profile
|
.PHONY: build-profile
|
||||||
build-profile:
|
build-profile:
|
||||||
flutter build apk --profile --build-name=$(VERSION)
|
flutter build apk --profile --build-name=$(VERSION) --flavor unsigned
|
||||||
|
|
|
@ -38,7 +38,7 @@ android {
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||||
applicationId "io.vikunja.flutteringvikunja"
|
applicationId "io.vikunja.app"
|
||||||
minSdkVersion 18
|
minSdkVersion 18
|
||||||
targetSdkVersion 27
|
targetSdkVersion 27
|
||||||
versionCode flutterVersionCode.toInteger()
|
versionCode flutterVersionCode.toInteger()
|
||||||
|
@ -54,6 +54,14 @@ android {
|
||||||
dimension "deploy"
|
dimension "deploy"
|
||||||
signingConfig null
|
signingConfig null
|
||||||
}
|
}
|
||||||
|
unsigned {
|
||||||
|
dimension "deploy"
|
||||||
|
signingConfig null
|
||||||
|
}
|
||||||
|
main {
|
||||||
|
dimension "deploy"
|
||||||
|
signingConfig signingConfigs.debug // TODO add signing key
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
android.applicationVariants.all { variant ->
|
android.applicationVariants.all { variant ->
|
||||||
|
|
Reference in New Issue