Hello guys, I was following the guide linked below...
# announcements
d
Hello guys, I was following the guide linked below for write an AWS lambda with Kotlin, I opened the project with IntelliJ, added the following deps
Copy code
// Coroutines
val coroutinesVersion = "1.3.7"
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:$coroutinesVersion")

// Ktor Client
val ktorVersion = "1.3.2"
implementation("io.ktor:ktor-client-core:$ktorVersion")
implementation("io.ktor:ktor-client-apache:$ktorVersion")
implementation("io.ktor:ktor-client-serialization-jvm:$ktorVersion")
Wrote a very simple GET function an tried to run. but I got:
Error running 'AppKt': '1.8' is bad configured
I also see in the IDE
cannot access <http://java.io|java.io>.Closeable. which is supertype...
on
get
of
client.get<String>
Tests are running fine 😕 https://www.raywenderlich.com/5777183-write-an-aws-lambda-function-with-kotlin-and-micronaut TL;DR
Copy code
gradle init
- application
- Kotlin