forked from Cyri1/bah
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
44 lines (43 loc) · 1.62 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
platforms:
android:
versionName: 1.0.0
incrementVersionCode: true
manifest:
- file: AndroidManifest.xml
target: manifest/application
attrs:
android:requestLegacyExternalStorage: "true"
- file: AndroidManifest.xml
target: manifest
merge:
<manifest>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
</manifest>
xml:
- resFile: values/styles.xml
target: resources/style[@name="AppTheme.NoActionBar"]
merge:
<style name="AppTheme.NoActionBar" parent="Theme.AppCompat.DayNight.NoActionBar">
<item name="android:windowFullscreen">true</item>
</style>
- resFile: values/ic_launcher_background.xml
target: resources/color[@name="ic_launcher_background"]
replace: |
<color name="ic_launcher_background">#0ec6d2</color>
# gradle:
# - file: app/build.gradle
# target:
# android:
# buildTypes:
# insert: |
# applicationVariants.all{
# variant ->
# variant.outputs.all {
# def appName = "bah-"
# def date = new Date()
# def formattedDate = date.format('MM-dd-yyyy')
# outputFileName = appName + formattedDate + "-${variant.versionName}-${variant.versionCode}.apk"
# }
# }