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

Luca Nicoletti

10/24/2019, 8:07 AM
If I add this property I get an error:
Could not find method compose() for arguments [true] on BuildType container of type org.gradle.api.internal.FactoryNamedDomainObjectContainer.
l

louiscad

10/24/2019, 9:16 AM
AGP 4.0.0-alpha01 ?
l

Luca Nicoletti

10/24/2019, 9:16 AM
Yes
I also get this
Could not find method kotlinPlugin() for arguments [androidx.compose:compose-compiler:0.1.0-dev02] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
@jim what about this? 😄
j

jim

10/24/2019, 1:39 PM
Only thing I can think of is that somehow AGP 4.0.0 isn't actually being selected. I would try starting with a new/fresh compose project/activity, and then try to figure out what is different in the configuration.
2 Views