This project is an evaluation of the possibilites using kotlins multiplatform feature. It aims to provide a server
which provides a RESTish-Api. To make the interaction with this server easier, the API-Objects are defined within an api
-project. This api-project is compiled for multiple platforms: ios, android, js and java itself.
The shared-code gives the opportunity to implement validation, caching, serialization only once for all targeted platforms, no need to reimplement these details.
- Use an mac
- call
./gradlew clean releaseFatFramework
- whatfor the fat-Framework task is, is explained here
- call
./gradlew clean debugFatFramework
... smth debug? don't know
- call
Employee/api/build/fat-framework
should contain the build-result
- download android-sdk by:
- scrolling down on this page to Command line tools only
- download the package for your platform
- unzip it to
ANDROID-SDK
(define the folder by yourself) - edit
local.properties
within the project and setsdk.dir=ANDROID-SDK
- accept licenses by calling:
yes | sudo ANDROID-SDK/bin/sdkmanager --licenses
- start the build by:
./gradlew clean assemble
Employee/api/build/output
should contain the resultingaar
-Package