Fudge
07/27/2020, 1:46 PMbrandonmcansh
07/27/2020, 2:04 PMandroid {
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion "${compose_version}"
kotlinCompilerVersion "1.4.0-dev-withExperimentalGoogleExtensions-20200720"
}
}
Did you update the compiler version?Horv
07/27/2020, 2:11 PMbrandonmcansh
07/27/2020, 2:11 PMHorv
07/27/2020, 2:18 PMapp
included). You can view my current experimentation here: https://github.com/fredagsdeploy/cheer-with-me/tree/feature/jetpack-compose/android if that's any help. I've more or less copied the sample here https://github.com/romainguy/sample-materials-shop for the gradle configurationAndroid Studio 4.2 Canary 5
Build #AI-201.7846.76.42.6682321, built on July 15, 2020
Runtime version: 1.8.0_242-release-1644-b01 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1237M
Cores: 24
Non-Bundled Plugins: org.jetbrains.kotlin
brandonmcansh
07/27/2020, 2:21 PMtasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs += ["-Xallow-jvm-ir-dependencies", "-Xskip-prerelease-check"]
}
}
Horv
07/27/2020, 2:36 PMbrandonmcansh
07/27/2020, 2:57 PMFudge
07/27/2020, 2:59 PMbrandonmcansh
07/27/2020, 3:00 PMHorv
07/27/2020, 3:30 PMallan.conda
07/27/2020, 9:21 PMChanging kotlin version in buildscript to 1.4.0-rc fixed itAwesome find, seems the problem occured due to this recent kotlin plugin update. Compose should probably update the instructions here: https://developer.android.com/jetpack/androidx/releases/compose
brandonmcansh
07/27/2020, 9:21 PMallan.conda
07/27/2020, 9:25 PM1.3.8-1.4.0-rc