A Kotlin Multiplatform cocktail recipe app targeting Android, iOS, & Desktop.
To run the application on android device/emulator:
- open project in Android Studio and run imported android run configuration
To build the application bundle:
- run
./gradlew :composeApp:assembleDebug
- find
.apk
file incomposeApp/build/outputs/apk/debug/composeApp-debug.apk
Run android UI tests on the connected device:./gradlew :composeApp:connectedDebugAndroidTest
Run the desktop application: ./gradlew :composeApp:run
Run the desktop hot reload application: ./gradlew :composeApp:runHot
)
Run desktop UI tests: ./gradlew :composeApp:jvmTest
To run the application on iPhone device/simulator:
- Open
iosApp/iosApp.xcproject
in Xcode and run standard configuration - Or use Kotlin Multiplatform Mobile plugin for Android Studio
Run iOS simulator UI tests:
./gradlew :composeApp:iosSimulatorArm64Test