Multiplatfom projects with Kotlin
summary
Shows concrete use of Kotlin 1.3 multiplatform: common modules compiled to JVM/JS/native, the new Gradle Kotlin multiplatform plugin, and how expect/actual bindings let code reuse platform libs (Java Time, moment.js) while Gradle enforces one implementation per target. Demonstrates tests catching a real date-order bug, tooling limits (common tests run only on JVM by default), use of inline classes to prevent type-mix errors, plus coroutine and serialization support and normal Maven publishing for produced artifacts.
AI-written summary · about
chapters (12)
- 0:00Start
- 10:56Code sharing
- 15:21Common code
- 16:26Interfaces
- 17:54expect limitations
- 20:41No overhead
- 21:25Existing actual class
- 24:12Project structure
- 28:41Publishing
- 33:26inline classes
- 35:23Recap
- 36:47Sample code
related talks
01h 07mDevelop Multiplatform Projects in Kotlin
39mAn Overview of Multiplatform Kotlin
35mIntro to Kotlin Multiplatform
48mEffective Multiplatform Kotlin Development
34mKotlin Multiplatform: code sharing without compromise
36mKotlin Multiplatform- From “Hello World” to the Real World
41mKotlin Multiplatform In Production
36mIntroducing Kotlin Multiplatform in an existing project
