`org.gradle.api.artifacts.UnknownConfigurationExce...
# compose
i
org.gradle.api.artifacts.UnknownConfigurationException: Configuration with name 'kotlinPlugin' not found
With AGP 4.0.0-alpha01 and Kotlin gradle plugin 1.3.60-eap-25, what else do I need to add to gradle to enable this? (as shown in the compose tutorial: https://developer.android.com/jetpack/compose/setup#compose-compiler) PS: Also not working with Kotlin plugin version
1.3.60-eap-76
.
☝🏼 1
l
Same here
i
Also, I created a new project with the compose template and found out they don't use this option there 🤔.
j
Sorry, the
kotlinPlugin
option is an artifact from the way we do this in aosp, which somehow made it into our docs. I pinged our docs team to get this removed. Please do not specify
kotlinPlugin
.
👍🏼 2
The kotlin compiler plugin is installed by AGP when you specify
compose true
, which is currently not used in our repository, thus the discrepancy.
l
j
I am unable to reproduce the
Could not find method compose()
. Only thing I can think of is that you aren't actually using AGP 4.0.0, but you said you did specify it, so ¯\_(ツ)_/¯
☝️ 1
l
🤦🏼‍♂️ was using it inside the wrong parent note