Slackbot
06/21/2021, 5:12 PMChristy Jacob
06/22/2021, 4:39 AM./gradlew clean assemble works as well. But when running my main function , I get the following error
https://pastebin.com/Mz6qvuN2
./gradlew clean assemble
BUILD SUCCESSFUL in 956ms
4 actionable tasks: 4 executed
Here's a MVCE
1. Create a new Kotlin JVM Application in IntelliJ with a Project JDK of 1.8 and Target JVM version of 1.8
2. Add the maven snapshot repository and the dependency to your build.gradle
repositories {
maven {
url "<https://s01.oss.sonatype.org/content/repositories/snapshots/>"
}
}
dependencies {
implementation "io.appwrite:sdk-for-kotlin:0.0.0-SNAPSHOT"
}
3. Create a main function with the following code
import io.appwrite.Client
suspend fun main () {
val client = Client()
}
4. Run main