Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
org.benoitharrault.hangman
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
android
org.benoitharrault.hangman
Commits
ab9ac18f
Commit
ab9ac18f
authored
4 years ago
by
Benoît Harrault
Browse files
Options
Downloads
Patches
Plain Diff
Fix apk output filename
parent
a936943c
No related branches found
No related tags found
1 merge request
!9
Resolve "Fix apk output filename"
Pipeline
#694
passed
4 years ago
Stage: test
Stage: update
Stage: build
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-2
1 addition, 2 deletions
.gitlab-ci.yml
android/app/build.gradle
+3
-3
3 additions, 3 deletions
android/app/build.gradle
pubspec.yaml
+1
-1
1 addition, 1 deletion
pubspec.yaml
with
5 additions
and
6 deletions
.gitlab-ci.yml
+
1
−
2
View file @
ab9ac18f
...
@@ -34,10 +34,9 @@ android:build:
...
@@ -34,10 +34,9 @@ android:build:
-
echo keyPassword=$ANDROID_KEY_PASSWORD >> android/key.properties
-
echo keyPassword=$ANDROID_KEY_PASSWORD >> android/key.properties
# build flutter app
# build flutter app
-
flutter build apk
-
flutter build apk
-
mv build/app/outputs/apk/release/app-release.apk build/app/outputs/apk/release/app-hangman-release.apk
artifacts
:
artifacts
:
paths
:
paths
:
-
build/app/outputs/apk/release
/app-hangman-release.apk
-
build/app/outputs/apk/release
expire_in
:
1 week
expire_in
:
1 week
interruptible
:
true
interruptible
:
true
...
...
This diff is collapsed.
Click to expand it.
android/app/build.gradle
+
3
−
3
View file @
ab9ac18f
...
@@ -13,12 +13,12 @@ if (flutterRoot == null) {
...
@@ -13,12 +13,12 @@ if (flutterRoot == null) {
def
flutterVersionCode
=
localProperties
.
getProperty
(
'flutter.versionCode'
)
def
flutterVersionCode
=
localProperties
.
getProperty
(
'flutter.versionCode'
)
if
(
flutterVersionCode
==
null
)
{
if
(
flutterVersionCode
==
null
)
{
flutterVersionCode
=
'
6
'
flutterVersionCode
=
'
1
'
}
}
def
flutterVersionName
=
localProperties
.
getProperty
(
'flutter.versionName'
)
def
flutterVersionName
=
localProperties
.
getProperty
(
'flutter.versionName'
)
if
(
flutterVersionName
==
null
)
{
if
(
flutterVersionName
==
null
)
{
flutterVersionName
=
'1.
5
'
flutterVersionName
=
'1.
0
'
}
}
apply
plugin:
'com.android.application'
apply
plugin:
'com.android.application'
...
@@ -38,12 +38,12 @@ android {
...
@@ -38,12 +38,12 @@ android {
}
}
defaultConfig
{
defaultConfig
{
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"org.benoitharrault.hangman"
applicationId
"org.benoitharrault.hangman"
minSdkVersion
21
minSdkVersion
21
targetSdkVersion
29
targetSdkVersion
29
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
archivesBaseName
=
"$applicationId-v$versionName+$versionCode"
}
}
signingConfigs
{
signingConfigs
{
...
...
This diff is collapsed.
Click to expand it.
pubspec.yaml
+
1
−
1
View file @
ab9ac18f
...
@@ -3,7 +3,7 @@ description: Hangman game, have fun with words and letters!
...
@@ -3,7 +3,7 @@ description: Hangman game, have fun with words and letters!
publish_to
:
'
none'
# Remove this line if you wish to publish to pub.dev
publish_to
:
'
none'
# Remove this line if you wish to publish to pub.dev
version
:
1.1.
2
version
:
1.1.
3+1
environment
:
environment
:
sdk
:
"
>=2.7.0
<3.0.0"
sdk
:
"
>=2.7.0
<3.0.0"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment