hey guys, inside convention plugins, how can we ac...
# gradle
h
hey guys, inside convention plugins, how can we access the new
Copy code
composeCompiler { }
block
t
Copy code
project.extensions.getByType<org.jetbrains.kotlin.compose.compiler.gradle.ComposeCompilerGradlePluginExtension>()
thank you color 1
h
since it’s not available, do we have to add the plugin in the
plugins
block in order for this to be available ? are there any issues with that? since other things that are needed here are
compileOnly
j
you need to add it as dependency (together the others compileOnly)
v
You have to add this to as a compileOnly dependency
Copy code
compose-compiler-gradlePlugin = { group = "org.jetbrains.kotlin", name = "compose-compiler-gradle-plugin", version.ref = "kotlin" }
thank you color 1
1