I'm using K2 with 2024.1.4 and a multi-project Gra...
# compose
j
I'm using K2 with 2024.1.4 and a multi-project Gradle build. None of the instructions on how to make a compose compiler report (that shows restartable/stable/etc) seem to work for me. Is there a Correct™️ set of instructions somewhere?
e
What instructions are you following? The general process is • apply kotlin compose gradle plugin to the module • configure the
composeCompiler
extension with the directory for reports & metrics • run a kotlin compilation (which will generate said metrics / reports) (eg
compileKotlin
) • profit This should work … & is simple 🤔
b
Something like this will output the report in the modules build dir
Copy code
composeCompiler {
    reportsDestination = layout.buildDirectory.dir("compose_compiler_reports")
}
1
j
ahh.. I have to literally run
../gradlew compileKotlin
from my gui/ directory, and not just use one the Gradle targets in idea