Commit 056555f
committed
Refactor project structure and migrate to Version Catalog
- Migrated the single `sample` module into a multi-module structure: `:sample:shared`, `:sample:android`, `:sample:ios`, `:sample:desktop`, and `:sample:web`.
- Introduced a Version Catalog (`libs.versions.toml`) to manage dependencies and plugins across the project.
- Updated Gradle to 9.3.1 and Kotlin to 2.3.10.
- Migrated library modules (`theme-material`, `theme-material3`, `theme-prefs`) to use the Android Kotlin Multiplatform library plugin.
- Added a `PUBLICATION.md` guide and updated the publication logic using `vanniktech/gradle-maven-publish-plugin`.
- Refactored `AppState` to use `TextFieldState` and updated `NoteDetailBody` in both Material 2 and 3 samples to utilize the new state and `rememberSaveable`.
- Added "Source code" and "Info" items to the settings screens with `LocalUriHandler` to link to the GitHub repository.
- Reorganized sample source code, moving platform-specific code into their respective new modules.
- Cleaned up imports and standardized `@Preview` annotations across the theme modules.
- Enabled `TYPESAFE_PROJECT_ACCESSORS` in `settings.gradle.kts`.1 parent 54be566 commit 056555f
71 files changed
Lines changed: 785 additions & 312 deletions
File tree
- .github/workflows
- convention-plugins
- doc
- gradle
- wrapper
- iosSample/iosApp.xcodeproj/xcuserdata/artur.xcuserdatad/xcschemes
- sample
- android
- src/main
- kotlin/com/softartdev/sample
- desktop
- iosSample
- Configuration
- iosApp.xcodeproj
- project.xcworkspace
- xcuserdata/babichev.a.xcuserdatad
- xcuserdata
- artur.xcuserdatad/xcschemes
- babichev.a.xcuserdatad/xcschemes
- iosApp
- Assets.xcassets
- AccentColor.colorset
- AppIcon.appiconset
- Preview Content/Preview Assets.xcassets
- ios
- src/iosMain/kotlin/com/softartdev/sample
- web
- src/wasmJsMain
- resources
- theme
- theme-material3
- src/commonMain/kotlin/com/softartdev/theme/material3
- theme-material
- src/commonMain/kotlin/com/softartdev/theme/material
- theme-prefs
- src/commonMain
- composeResources
- values-ru
- values
- kotlin/com/softartdev/theme/pref
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
18 | 8 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments