https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
n

natpryce

03/13/2018, 7:34 AM
But I find that for libraries, Gradle will still be parsing the build configuration when the Make build has finished.
g

gildor

03/13/2018, 8:54 AM
Make sense to profile configuration step, maybe there is some problem with one of plugins
n

natpryce

03/13/2018, 9:52 AM
I don’t need to because Make is already fast.
g

gildor

03/13/2018, 9:53 AM
And also not compatible with Idea and Kotlin
I just want to say, that maybe there is just some performance problem that can be solved, instead of writing manual integration with CLI tools
n

natpryce

03/13/2018, 9:55 AM
That sounds like Yak shaving
Writing Make rules is easy
Writing Gradle and debugging its performance problems is not
Especially given the buggy caching
and patchy IntelliJ support for editing Gradle files
g

gildor

03/13/2018, 9:58 AM
Writing Gradle and debugging its performance problems is not
is not a big problem if you know what to do, if it’s easy to write everything manually, why not
n

natpryce

03/13/2018, 9:59 AM
But it’s not something that one should need to do. Profiling my app? Sure. Profiling Gradle’s own parsing of its own configuration files? Yak shaving.
g

gildor

03/13/2018, 10:01 AM
parsing of its own configuration files
No, of course not parsing. Gradle compiles all build scripts only once and cache them, I don’t think that this is your problem. Configuration should be pretty fast even for multimodule project with modern Gradle, but sometimes bad plugin or wrong configuration can broke it. Sometimes just run Gradle builds scan to find problem
2 Views