/scala-cloud-function

Simplest Scala Google Cloud Function

Primary LanguageScala

Produce the assembly output:

sbt assembly

and then deploy it as a Cloud Function:

gcloud functions deploy scala-cf-test \
    --entry-point=com.example.ScalaHelloWorld \
    --runtime=java11 \
    --trigger-http \
    --source=output/

To remove the Cloud Function:

gcloud functions delete scala-cf-test