Skip to content

Commit c714a24

Browse files
Add Bitbucket Pipelines to readme
1 parent 9d0b14e commit c714a24

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
11
# Docker image with Android SDK and Flutter
22

33
[![](https://images.microbadger.com/badges/version/martinlowinski/flutter-android-sdk.svg)](https://microbadger.com/images/martinlowinski/flutter-android-sdk "Get your own version badge on microbadger.com") [![](https://images.microbadger.com/badges/image/martinlowinski/flutter-android-sdk.svg)](https://microbadger.com/images/martinlowinski/flutter-android-sdk "Get your own image badge on microbadger.com")
4+
5+
## Bitbucket Pipelines
6+
7+
This image can be used to test and build Android APKs developed with Flutter. Here is an example `bitbucket-pipelines.yml` for Bitbucket Pipelines including caches for gradle and gradlewrapper:
8+
9+
```
10+
image: martinlowinski/flutter-android-sdk
11+
12+
pipelines:
13+
default:
14+
- step:
15+
caches:
16+
- gradle
17+
- gradlewrapper
18+
script:
19+
- echo "Building APK..."
20+
- flutter doctor
21+
- flutter -v build apk
22+
23+
definitions:
24+
caches:
25+
gradlewrapper: ~/.gradle/wrapper
26+
```

0 commit comments

Comments
 (0)