bchazalet / scala-cloud-function

Simplest Scala Google Cloud Function

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Simplest Scala Google Cloud Function


Languages

Language:Scala 100.0%