From ebcee8f515e5a4c84001793f4952c8b30eb077e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=A7=80=ED=98=84?= Date: Fri, 16 Dec 2022 18:17:23 +0900 Subject: [PATCH] Refactor to have multiple sample apps in examples folder (#57) --- .idea/gradle.xml | 2 + examples/kanban/.gitignore | 15 ++ examples/kanban/.idea/.gitignore | 3 + examples/kanban/.idea/.name | 1 + examples/kanban/.idea/gradle.xml | 13 ++ examples/kanban/.idea/misc.xml | 10 + examples/kanban/.idea/vcs.xml | 6 + examples/{ => kanban/app}/.gitignore | 0 examples/{ => kanban/app}/build.gradle.kts | 13 +- examples/{ => kanban/app}/proguard-rules.pro | 2 +- .../kanbanapp/ExampleInstrumentedTest.kt | 22 +++ .../kanban/app/src/main/AndroidManifest.xml | 23 +++ .../com/example/kanbanapp}/KanbanBoard.kt | 2 +- .../example/kanbanapp}/KanbanBoardActivity.kt | 2 +- .../kanbanapp}/KanbanBoardViewModel.kt | 4 +- .../drawable-v24/ic_launcher_foreground.xml | 0 .../res/drawable/ic_launcher_background.xml | 0 .../res/mipmap-anydpi-v26/ic_launcher.xml | 0 .../mipmap-anydpi-v26/ic_launcher_round.xml | 0 .../src/main/res/mipmap-hdpi/ic_launcher.webp | Bin .../res/mipmap-hdpi/ic_launcher_round.webp | Bin .../src/main/res/mipmap-mdpi/ic_launcher.webp | Bin .../res/mipmap-mdpi/ic_launcher_round.webp | Bin .../main/res/mipmap-xhdpi/ic_launcher.webp | Bin .../res/mipmap-xhdpi/ic_launcher_round.webp | Bin .../main/res/mipmap-xxhdpi/ic_launcher.webp | Bin .../res/mipmap-xxhdpi/ic_launcher_round.webp | Bin .../main/res/mipmap-xxxhdpi/ic_launcher.webp | Bin .../res/mipmap-xxxhdpi/ic_launcher_round.webp | Bin .../app}/src/main/res/values-night/themes.xml | 2 +- .../app}/src/main/res/values/colors.xml | 0 .../app/src/main/res/values/strings.xml | 3 + .../app}/src/main/res/values/themes.xml | 2 +- .../app/src/main/res/xml/backup_rules.xml | 13 ++ .../main/res/xml/data_extraction_rules.xml | 19 ++ .../com/example/kanbanapp}/ExampleUnitTest.kt | 2 +- examples/kanban/build.gradle.kts | 6 + examples/kanban/gradle.properties | 23 +++ .../kanban/gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 59203 bytes .../gradle/wrapper/gradle-wrapper.properties | 6 + examples/kanban/gradlew | 185 ++++++++++++++++++ examples/kanban/gradlew.bat | 89 +++++++++ examples/kanban/settings.gradle.kts | 16 ++ examples/src/main/AndroidManifest.xml | 31 --- .../dev/yorkie/examples/MainActivity.kt | 73 ------- examples/src/main/res/values/strings.xml | 3 - settings.gradle.kts | 2 +- 47 files changed, 472 insertions(+), 121 deletions(-) create mode 100644 examples/kanban/.gitignore create mode 100644 examples/kanban/.idea/.gitignore create mode 100644 examples/kanban/.idea/.name create mode 100644 examples/kanban/.idea/gradle.xml create mode 100644 examples/kanban/.idea/misc.xml create mode 100644 examples/kanban/.idea/vcs.xml rename examples/{ => kanban/app}/.gitignore (100%) rename examples/{ => kanban/app}/build.gradle.kts (85%) rename examples/{ => kanban/app}/proguard-rules.pro (93%) create mode 100644 examples/kanban/app/src/androidTest/java/com/example/kanbanapp/ExampleInstrumentedTest.kt create mode 100644 examples/kanban/app/src/main/AndroidManifest.xml rename examples/{src/main/kotlin/dev/yorkie/examples => kanban/app/src/main/java/com/example/kanbanapp}/KanbanBoard.kt (99%) rename examples/{src/main/kotlin/dev/yorkie/examples => kanban/app/src/main/java/com/example/kanbanapp}/KanbanBoardActivity.kt (98%) rename examples/{src/main/kotlin/dev/yorkie/examples => kanban/app/src/main/java/com/example/kanbanapp}/KanbanBoardViewModel.kt (97%) rename examples/{ => kanban/app}/src/main/res/drawable-v24/ic_launcher_foreground.xml (100%) rename examples/{ => kanban/app}/src/main/res/drawable/ic_launcher_background.xml (100%) rename examples/{ => kanban/app}/src/main/res/mipmap-anydpi-v26/ic_launcher.xml (100%) rename examples/{ => kanban/app}/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml (100%) rename examples/{ => kanban/app}/src/main/res/mipmap-hdpi/ic_launcher.webp (100%) rename examples/{ => kanban/app}/src/main/res/mipmap-hdpi/ic_launcher_round.webp (100%) rename examples/{ => kanban/app}/src/main/res/mipmap-mdpi/ic_launcher.webp (100%) rename examples/{ => kanban/app}/src/main/res/mipmap-mdpi/ic_launcher_round.webp (100%) rename examples/{ => kanban/app}/src/main/res/mipmap-xhdpi/ic_launcher.webp (100%) rename examples/{ => kanban/app}/src/main/res/mipmap-xhdpi/ic_launcher_round.webp (100%) rename examples/{ => kanban/app}/src/main/res/mipmap-xxhdpi/ic_launcher.webp (100%) rename examples/{ => kanban/app}/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp (100%) rename examples/{ => kanban/app}/src/main/res/mipmap-xxxhdpi/ic_launcher.webp (100%) rename examples/{ => kanban/app}/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp (100%) rename examples/{ => kanban/app}/src/main/res/values-night/themes.xml (88%) rename examples/{ => kanban/app}/src/main/res/values/colors.xml (100%) create mode 100644 examples/kanban/app/src/main/res/values/strings.xml rename examples/{ => kanban/app}/src/main/res/values/themes.xml (88%) create mode 100644 examples/kanban/app/src/main/res/xml/backup_rules.xml create mode 100644 examples/kanban/app/src/main/res/xml/data_extraction_rules.xml rename examples/{src/test/kotlin/dev/yorkie => kanban/app/src/test/java/com/example/kanbanapp}/ExampleUnitTest.kt (91%) create mode 100644 examples/kanban/build.gradle.kts create mode 100644 examples/kanban/gradle.properties create mode 100644 examples/kanban/gradle/wrapper/gradle-wrapper.jar create mode 100644 examples/kanban/gradle/wrapper/gradle-wrapper.properties create mode 100755 examples/kanban/gradlew create mode 100644 examples/kanban/gradlew.bat create mode 100644 examples/kanban/settings.gradle.kts delete mode 100644 examples/src/main/AndroidManifest.xml delete mode 100644 examples/src/main/kotlin/dev/yorkie/examples/MainActivity.kt delete mode 100644 examples/src/main/res/values/strings.xml diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 7bd7b0fd3..8ed00ab88 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -12,6 +12,8 @@