Why am I getting 'Compose Compiler Gradle plugin is required' in Kotlin 1.9 project?
I’m working on an Android project using Kotlin version 1.9.0, and I'm encountering the following error message when trying to build my project:
Starting in Kotlin 2.0, the Compose Compiler Gradle plugin is required when compose is enabled. See the following link for more information: https://d.android.com/r/studio-ui/compose-compiler
Here is a snippet of my build.gradle file:
allprojects {
buildscript {
ext.kotlin_version = '1.9.0'
repositories {
google()...