https://kotlinlang.org logo
#compose
Title
# compose
d

divyanshunegi

08/01/2020, 10:43 PM
Hi, Everyone I just started exploring Compose and coming from SwiftUI this feels at home, I tried looking for documentation on all the available API but could not find it, can someone please guide me to the Compose API docs (If they exist) ?
v

Val Salamakha

08/02/2020, 3:46 AM
If you use kotlin plugin “1.4.0-rc”, add as follow:
Copy code
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
    kotlinOptions {
        jvmTarget = "1.8"
        freeCompilerArgs += ["-Xskip-metadata-version-check", "-Xallow-jvm-ir-dependencies", "-Xjvm-default=enable"]
    }
}
instead of recommended for kotlin plugin “1.4-M3"