https://github.com/syxc/kmp-app-scaffold
一个 Kotlin Multiplatform Mobile 示例,iOS 模板适用于非 SwiftUI 项目。
https://github.com/syxc/kmp-app-scaffold
android ios kmm kmp kotlin kotlin-multiplatform
Last synced: 4 months ago
JSON representation
一个 Kotlin Multiplatform Mobile 示例,iOS 模板适用于非 SwiftUI 项目。
- Host: GitHub
- URL: https://github.com/syxc/kmp-app-scaffold
- Owner: syxc
- License: mit
- Created: 2024-02-08T16:13:58.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-23T23:07:28.000Z (about 1 year ago)
- Last Synced: 2024-04-24T00:25:13.475Z (about 1 year ago)
- Topics: android, ios, kmm, kmp, kotlin, kotlin-multiplatform
- Homepage:
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# app-kmp-scaffold
[](https://github.com/syxc/kmp-app-scaffold/actions/workflows/android.yml)
这是一个 `Kotlin Multiplatform Mobile` 最小可用示例。
实际项目中根据实际情况组织 iOS 和 Android 代码仓库结构即可。```txt
├── LICENSE
├── README.md
├── build.gradle.kts
├── gradle
├── gradle.properties
├── gradlew
├── gradlew.bat
├── kmp-app-android-scaffold
├── kmp-app-ios-scaffold
├── kmp-app-shared
└── settings.gradle.kts
```官方示例:[kmm-production-sample](https://github.com/Kotlin/kmm-production-sample)
编译环境
- AGP 7.2.2
- Gradle 7.3.3运行环境
- iOS 12+
- Android 6.0+