diff --git a/projects/ComposeConstraintLayout/app/build.gradle b/projects/ComposeConstraintLayout/app/build.gradle index 287c3ff9a..cfd5cd262 100644 --- a/projects/ComposeConstraintLayout/app/build.gradle +++ b/projects/ComposeConstraintLayout/app/build.gradle @@ -91,7 +91,7 @@ configurations.all { tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach { kotlinOptions { - freeCompilerArgs += "-opt-in=androidx.constraintlayout.compose.ExperimentalMotionApi" + freeCompilerArgs += "-Xopt-in=androidx.constraintlayout.compose.ExperimentalMotionApi" } } //configurations.configureEach {