My workflow so far is to have a docker file which builds the gradle project and exposes the binaries to the watchdog.
What are the nessary steps, that faas-cli supports kotlin with gradle?
You can use Faas-cli to generate a new dockerfile template and build your function using Docker, Kotlin and Gradle.
Alternatively you can create a template yourself and submit it to the template store.
You can also extend this third party template https://github.com/napperley/openfaas-kotlin-templates/ from @napperly
Yes, creating a template would be ideal for this.
Is this Kotlin on JVM or "native"?
See also:
Kotlin JVM. Ok, I'll look into it. I. get back to you, if I have something working
@i-walker I don't have anything for you right now, but you can use the Java template since it's geared-up for the JVM and then adapt it for Kotlin:
https://github.com/openfaas/templates/tree/master/template/java8
Alex
/msg: slack
--
Join Slack to connect with the community
https://docs.openfaas.com
I would love to contribute for this. Is there some work already done which I can help improve/maintain and release?
Please take a look at how the Java template works in the openfaas/templates repo, fork it and translate to Kotlin. That's how I'd approach it.
Sure.
Thanks, it would be great to see what you can come up with.
I also will be happy to help with project in any way I can. I have a decade
of Java experience, etc. Regards, Dmitro Kulinich
On Sat, Sep 14, 2019, 10:15 Alex Ellis notifications@github.com wrote:
Thanks, it would be great to see what you can come up with.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/openfaas/faas/issues/1195?email_source=notifications&email_token=ABKGFPQ5IJQJD3ZOWXBV3LLQJSMQRA5CNFSM4HODXJTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6WXD2Y#issuecomment-531460587,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABKGFPXMM7RWTIEB6BFHS73QJSMQRANCNFSM4HODXJTA
.
Most helpful comment
Yes, creating a template would be ideal for this.
Is this Kotlin on JVM or "native"?
See also:
https://docs.openfaas.com/cli/templates/#get-started
https://github.com/openfaas/templates/