Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

Commit aa71496

Browse files
authored
Update tutorial to v4 (#58)
* Remove top level folders, keep only the v4 version * Update READMEs * Use modern template, including version catalog, and bump dependency versions * Update CI job * Use version in version catalog * Bump to 4.0.0
1 parent 5506c65 commit aa71496

File tree

258 files changed

+336
-4694
lines changed

Some content is hidden

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

258 files changed

+336
-4694
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,7 @@ jobs:
1818
with:
1919
distribution: 'temurin'
2020
java-version: 17
21-
- name: Build current tutorial
22-
working-directory: ./compose/final
23-
run: |
24-
./gradlew assembleDebug
25-
- name: Build legacy tutorial
26-
working-directory: ./views/final
27-
run: |
28-
./gradlew assembleDebug
29-
- name: Build v4 tutorial
30-
working-directory: ./v4/final
21+
- name: Build tutorial
22+
working-directory: ./final
3123
run: |
3224
./gradlew assembleDebug

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Repository for the [Apollo Kotlin](https://github.com/apollographql/apollo-kotli
44

55
The tutorial is available through our [documentation site](https://www.apollographql.com/docs/kotlin/tutorial/00-introduction/). This repository contains the corresponding code.
66

7-
* [compose](./compose) (current): using [Jetpack Compose](https://developer.android.com/jetpack/compose)
8-
* [views](./views) (kept as reference): using the [Android Views](https://developer.android.com/develop/ui/views/layout/declaring-layout) system. This directory is kept as reference but is not maintained anymore.
7+
- [start](./start): the starter project with the boilerplate and UI code already written but no Apollo Kotlin code.
8+
- [final](./final): the final state of the application with all functionality
99

1010
For copy errors in the tutorial, please file bugs against the main [`apollo-kotlin` repo](https://github.com/apollographql/apollo-kotlin). For broken code, please file issues on this repo.

compose/README.md

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

compose/final/README.md

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

compose/final/app/build.gradle.kts

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

compose/final/app/src/main/java/com/example/rocketreserver/Apollo.kt

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

compose/final/app/src/main/java/com/example/rocketreserver/LaunchDetails.kt

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

0 commit comments

Comments
 (0)