Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Latest commit

 

History

History
29 lines (15 loc) · 857 Bytes

OLD-README.md

File metadata and controls

29 lines (15 loc) · 857 Bytes

kotlin-support

Cloudstate Kotlin Support

Install the Kotlin Support Library to the local Maven repository

./gradlew build publishToMavenLocal

Examples: build and push container images to a container registry

./gradlew :examples:kotlin-chat:jib

./gradlew :examples:kotlin-pingpong:jib

./gradlew :examples:shopping-cart:jib

EventSourcing example of use

Define your proto

@@snip shoppingcart.proto { #example-shopping-cart-proto }

Write your business logic

@@snip ShoppingCartEntity.kt { #example-shopping-cart-kotlin }

Register your Entity

@@snip Main.kt { #example-shopping-cart-main }