Skip to content

Commit 741479b

Browse files
authored
Merge pull request #56 from hoc081098/update-deps
update deps
2 parents ef527ff + 5f1a655 commit 741479b

File tree

36 files changed

+211
-184
lines changed

36 files changed

+211
-184
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ jobs:
2121
- name: Make gradlew executable
2222
run: chmod +x ./gradlew
2323

24-
- name: Spotless check
25-
run: ./gradlew spotlessCheck
26-
2724
- name: Build debug APK
2825
run: ./gradlew assembleDebug --warning-mode all --stacktrace
2926

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Remove old artifacts
2+
3+
on:
4+
# push:
5+
# branches: [ master ]
6+
7+
schedule:
8+
# Runs at 01:00 UTC on the 1, 8, 15, 22 and 29th of every month.
9+
- cron: '0 1 */7 * *'
10+
11+
jobs:
12+
remove-old-artifacts:
13+
runs-on: ubuntu-latest
14+
timeout-minutes: 10
15+
16+
steps:
17+
- name: Remove old artifacts
18+
uses: c-hive/gha-remove-artifacts@v1
19+
with:
20+
age: '1 month'
21+
skip-tags: true
22+
skip-recent: 5

.github/workflows/spotless.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Spotless check
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Set up JDK
16+
uses: actions/setup-java@v2
17+
with:
18+
distribution: 'zulu'
19+
java-version: '11'
20+
21+
- name: Make gradlew executable
22+
run: chmod +x ./gradlew
23+
24+
- name: Spotless check
25+
run: ./gradlew spotlessCheck

.idea/jarRepositories.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This project brings to the table set of best practices, tools, and solutions:
2929
[Download latest debug APK here](https://nightly.link/hoc081098/ComicReaderApp_MVI_Coroutine_RxKotlin_Jetpack/workflows/build/master/app-debug.zip)
3030

3131
# Develop
32-
- You must use **Android Studio Bumblebee (2021.1.1) Canary 1** (**note: Java 11 is now the minimum version required**)
32+
- You must use **Android Studio Arctic Fox (2020.3.1)** (**note: Java 11 is now the minimum version required**)
3333
- Clone: `git clone https://github.com/hoc081098/ComicReaderApp_MVI_Coroutine_RxKotlin.git`
3434
- _Optional: **Delete `.idea` folder** if cannot open project_
3535
- Open project by `Android Studio` and run as usual
@@ -69,21 +69,3 @@ Clone this repository: https://github.com/hoc081098/comic_app_server_nodejs
6969
MIT License
7070

7171
Copyright (c) 2019-2021 Petrus Nguyễn Thái Học
72-
73-
Permission is hereby granted, free of charge, to any person obtaining a copy
74-
of this software and associated documentation files (the "Software"), to deal
75-
in the Software without restriction, including without limitation the rights
76-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
77-
copies of the Software, and to permit persons to whom the Software is
78-
furnished to do so, subject to the following conditions:
79-
80-
The above copyright notice and this permission notice shall be included in all
81-
copies or substantial portions of the Software.
82-
83-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
84-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
85-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
86-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
87-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
88-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
89-
SOFTWARE.

app/release/app-release.apk

-9.54 MB
Binary file not shown.

app/release/output-metadata.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

app/release/output.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

app/src/main/AndroidManifest.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
<activity
2222
android:name=".activity.SplashActivity"
23+
android:exported="true"
2324
android:theme="@style/SplashTheme">
2425
<intent-filter>
2526
<action android:name="android.intent.action.MAIN" />
@@ -60,14 +61,13 @@
6061
android:name="com.hoc.comicapp.initializer.AnalyticsInitializer"
6162
android:value="androidx.startup" />
6263

64+
<!-- If you are using androidx.startup to initialize other components -->
65+
<meta-data
66+
android:name="androidx.work.WorkManagerInitializer"
67+
android:value="androidx.startup"
68+
tools:node="remove" />
6369
</provider>
6470

65-
<provider
66-
android:name="androidx.work.impl.WorkManagerInitializer"
67-
android:authorities="${applicationId}.workmanager-init"
68-
android:exported="false"
69-
tools:node="remove" />
70-
7171
<receiver
7272
android:name=".worker.ComicAppBroadcastReceiver"
7373
android:exported="false" />

app/src/main/java/com/hoc/comicapp/activity/main/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class MainActivity : ScopeActivity(R.layout.activity_main) {
174174
.height(size)
175175
.endConfig()
176176
.buildRect(
177-
firstLetter.toUpperCase().toString(),
177+
firstLetter.uppercase(),
178178
ColorGenerator.MATERIAL.getColor(user.email)
179179
)
180180
}

0 commit comments

Comments
 (0)