Skip to content

Commit c97c3fd

Browse files
author
wisnu
committed
Migrate to KSP
1 parent 5285dbd commit c97c3fd

File tree

58 files changed

+4675
-4615
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+4675
-4615
lines changed

.github/workflows/build.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
1-
name: Build
2-
3-
4-
on:
5-
push:
6-
branches: [ main ]
7-
pull_request:
8-
branches: [ main ]
9-
10-
jobs:
11-
build:
12-
runs-on: ubuntu-latest
13-
14-
steps:
15-
- name: Checkout
16-
uses: actions/checkout@v4
17-
18-
- name: Set up JDK 17
19-
uses: actions/setup-java@v4
20-
with:
21-
distribution: 'zulu'
22-
java-version: 17
23-
24-
- name: Setup Gradle
25-
uses: gradle/gradle-build-action@v3
26-
27-
- name: Build project and run local tests
28-
run: ./gradlew assembleDebug jacocoDebugReport --stacktrace
29-
30-
- name: Upload build outputs (APKs)
31-
uses: actions/upload-artifact@v4
32-
with:
33-
name: build-outputs
34-
path: ./app/build/outputs
35-
36-
- name: Upload test report
37-
uses: actions/upload-artifact@v4
38-
with:
39-
name: report
40-
path: ./build/jacoco
1+
name: Build
2+
3+
4+
on:
5+
push:
6+
branches: [ main ]
7+
pull_request:
8+
branches: [ main ]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Set up JDK 17
19+
uses: actions/setup-java@v4
20+
with:
21+
distribution: 'zulu'
22+
java-version: 17
23+
24+
- name: Setup Gradle
25+
uses: gradle/gradle-build-action@v3
26+
27+
- name: Build project and run local tests
28+
run: ./gradlew assembleDebug jacocoDebugReport --stacktrace
29+
30+
- name: Upload build outputs (APKs)
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: build-outputs
34+
path: ./app/build/outputs
35+
36+
- name: Upload test report
37+
uses: actions/upload-artifact@v4
38+
with:
39+
name: report
40+
path: ./build/jacoco

.kotlin/sessions/kotlin-compiler-12982153609633326980.salive

Whitespace-only changes.

README.md

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
1-
![build](https://github.com/wisnukurniawan/Compose-ToDo/actions/workflows/build.yml/badge.svg)
2-
3-
## Compose playground: To Do List App
4-
5-
<a href='https://play.google.com/store/apps/details?id=com.wisnu.kurniawan.composetodolist'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' width=240/></a>
6-
7-
Compose playground for learning purpose
8-
9-
* UI completely in [Jetpack Compose](https://developer.android.com/jetpack/compose)
10-
* Uses [Kotlin Coroutines](https://kotlinlang.org/docs/reference/coroutines/coroutines-guide.html)
11-
* Uses [Kotlin Flow](https://kotlinlang.org/docs/flow.html)
12-
* Uses many of the [Architecture Components](https://developer.android.com/topic/libraries/architecture/), including: Room, DataStore, Navigation, ViewModel
13-
* Uses [Hilt](https://dagger.dev/hilt/) for dependency injection
14-
* Uses [Java 8+ API desugaring support](https://developer.android.com/studio/write/java8-support#library-desugaring) for date and time usage
15-
16-
<img src="art/ps-1.png" width="260"> <img src="art/ps-2.png" width="260"> <img src="art/ps-3.png" width="260">
17-
18-
## Large screen
19-
20-
<img src="art/landscape.gif" width="400"> <img src="art/foldable.gif" width="260">
21-
22-
## Prerequisites
23-
24-
* Android Studio Iguana | 2023.2.1
25-
* Min SDK 21
26-
* Target SDK 34
27-
* AGP 8.3.0
28-
* Java 11
29-
* Kotlin 1.9.22
30-
31-
## Setup
32-
33-
1. Clone this repository, `git clone https://github.com/wisnukurniawan/Compose-ToDo.git`
34-
2. Open via [Android studio](https://developer.android.com/studio)
35-
3. Sync the project, **File -> Sync Project with Gradle files**
36-
37-
## How to build
38-
39-
* Generate debug apk `./gradlew assembleDebug`
40-
* Run unit test `./gradlew testDebug`
41-
* Install on connected device `./gradlew installDebug`
42-
43-
## Others
44-
45-
* [Mercury architecture](https://github.com/wisnukurniawan/Compose-ToDo/blob/main/doc/architecture.md)
46-
* [Project structure](https://github.com/wisnukurniawan/Compose-ToDo/blob/main/doc/project-structure.md)
47-
* [Modularization](https://github.com/wisnukurniawan/Compose-ToDo/blob/main/doc/module.md)
1+
![build](https://github.com/wisnukurniawan/Compose-ToDo/actions/workflows/build.yml/badge.svg)
2+
3+
## Compose playground: To Do List App
4+
5+
<a href='https://play.google.com/store/apps/details?id=com.wisnu.kurniawan.composetodolist'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' width=240/></a>
6+
7+
Compose playground for learning purpose
8+
9+
* UI completely in [Jetpack Compose](https://developer.android.com/jetpack/compose)
10+
* Uses [Kotlin Coroutines](https://kotlinlang.org/docs/reference/coroutines/coroutines-guide.html)
11+
* Uses [Kotlin Flow](https://kotlinlang.org/docs/flow.html)
12+
* Uses many of the [Architecture Components](https://developer.android.com/topic/libraries/architecture/), including: Room, DataStore, Navigation, ViewModel
13+
* Uses [Hilt](https://dagger.dev/hilt/) for dependency injection
14+
* Uses [Java 8+ API desugaring support](https://developer.android.com/studio/write/java8-support#library-desugaring) for date and time usage
15+
16+
<img src="art/ps-1.png" width="260"> <img src="art/ps-2.png" width="260"> <img src="art/ps-3.png" width="260">
17+
18+
## Large screen
19+
20+
<img src="art/landscape.gif" width="400"> <img src="art/foldable.gif" width="260">
21+
22+
## Prerequisites
23+
24+
* Android Studio Iguana | 2023.2.1
25+
* Min SDK 21
26+
* Target SDK 34
27+
* AGP 8.3.0
28+
* Java 11
29+
* Kotlin 1.9.22
30+
31+
## Setup
32+
33+
1. Clone this repository, `git clone https://github.com/wisnukurniawan/Compose-ToDo.git`
34+
2. Open via [Android studio](https://developer.android.com/studio)
35+
3. Sync the project, **File -> Sync Project with Gradle files**
36+
37+
## How to build
38+
39+
* Generate debug apk `./gradlew assembleDebug`
40+
* Run unit test `./gradlew testDebug`
41+
* Install on connected device `./gradlew installDebug`
42+
43+
## Others
44+
45+
* [Mercury architecture](https://github.com/wisnukurniawan/Compose-ToDo/blob/main/doc/architecture.md)
46+
* [Project structure](https://github.com/wisnukurniawan/Compose-ToDo/blob/main/doc/project-structure.md)
47+
* [Modularization](https://github.com/wisnukurniawan/Compose-ToDo/blob/main/doc/module.md)

0 commit comments

Comments
 (0)