Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
d3418a5d
Unverified
Commit
d3418a5d
authored
Feb 21, 2018
by
xster
Committed by
GitHub
Feb 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Productionize the publishing Travis shard (#14714)
parent
7996d7fb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
.travis.yml
.travis.yml
+0
-3
build.gradle
examples/flutter_gallery/android/app/build.gradle
+3
-1
No files found.
.travis.yml
View file @
d3418a5d
...
@@ -14,9 +14,6 @@ matrix:
...
@@ -14,9 +14,6 @@ matrix:
env
:
SHARD=analyze
env
:
SHARD=analyze
-
os
:
osx
-
os
:
osx
env
:
SHARD=docs
env
:
SHARD=docs
# TODO(xster): remove this when we know it works on Travis.
allow_failures
:
-
env
:
SHARD=build_and_deploy_gallery
sudo
:
false
sudo
:
false
filter_secrets
:
false
filter_secrets
:
false
...
...
examples/flutter_gallery/android/app/build.gradle
View file @
d3418a5d
...
@@ -17,7 +17,9 @@ def flutterVersionComponents = flutterVersion.split(/[^0-9]+/)
...
@@ -17,7 +17,9 @@ def flutterVersionComponents = flutterVersion.split(/[^0-9]+/)
int
flutterVersionCode
=
Math
.
min
(
flutterVersionComponents
[
0
].
toInteger
(),
20
)
*
100000000
int
flutterVersionCode
=
Math
.
min
(
flutterVersionComponents
[
0
].
toInteger
(),
20
)
*
100000000
flutterVersionCode
+=
Math
.
min
(
flutterVersionComponents
[
1
].
toInteger
(),
99
)
*
1000000
flutterVersionCode
+=
Math
.
min
(
flutterVersionComponents
[
1
].
toInteger
(),
99
)
*
1000000
flutterVersionCode
+=
Math
.
min
(
flutterVersionComponents
[
2
].
toInteger
(),
999
)
*
1000
flutterVersionCode
+=
Math
.
min
(
flutterVersionComponents
[
2
].
toInteger
(),
999
)
*
1000
flutterVersionCode
+=
Math
.
min
(
flutterVersionComponents
[
3
]?.
toInteger
()
?:
0
,
999
)
if
(
flutterVersionComponents
.
length
>
3
)
{
flutterVersionCode
+=
Math
.
min
(
flutterVersionComponents
[
3
].
toInteger
(),
999
)
}
apply
plugin:
'com.android.application'
apply
plugin:
'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment