+1 if you would like to see Kotlin support for the CDK
馃憤 from @skinny85 in #553
I'd like to take a stab at contributing Kotlin support along with Gradle build with Kotlin DSL assuming this work hasn't already started.
Any pointers other than looking at what was done for Java?
I鈥檝e written a POC which uses Kotlin language and Gradle Kotlin DSL: https://github.com/digitalsanctum/cdk-kotlin-example. I don鈥檛 think it would take much to add support for Kotlin and Gradle but the wiring up of cdk.json
and app.sh
leaves something to be desired.
Thanks @digitalsanctum! This is awesome. Asked some questions on your commit.
Happy to include this as a template for cdk init
if you are interested.
Thanks. I've replied to your questions there.
The POC was a first step to prove that supporting Kotlin and Gradle wouldn't be a lot of extra effort. I'd like to address #1294 and further simplify the semantics around app.sh
and cdk.json
before including as a template for cdk init
.
I've started one, roughly tested :P
https://github.com/aws-cdk-dsl/aws-cdk-kotlin-dsl
@willings this is great! Would love to explore the option of adding this to our official release
Any news on this? @willings repo looks promising.
Hi, I'm working on wrapper library of cdk.
Now, no documents are available but all source codes are available:
https://github.com/justincase-jp/AWS-CDK-Kotlin-DSL
And generated & built packages are available too:
https://bintray.com/justincase/aws-cdk-kotlin-dsl
This is WIP project, so any issue comment, or contribution is welcome.
Another approach could be leveraging Kotlin's JS compatibility. JetBrains provides dukat to generate Kotlin JS files from TS definitions.
Jesus what happened here?? seemed like it was going to happen, but no... !
Any updates on this?
Any updates?
Most helpful comment
Hi, I'm working on wrapper library of cdk.
Now, no documents are available but all source codes are available:
https://github.com/justincase-jp/AWS-CDK-Kotlin-DSL
And generated & built packages are available too:
https://bintray.com/justincase/aws-cdk-kotlin-dsl
This is WIP project, so any issue comment, or contribution is welcome.