Hello ! I’m working on a KMM project and I’m notic...
# multiplatform
a
Hello ! I’m working on a KMM project and I’m noticing that some build tasks take too much time as you can see in the screenshot, Does anyone have suggestions on how to optimize ! thanks
f
it’s the release one, it take more time than the debug one, I don’t see any big issue about timing
or try to build as dynamic library instead of static one
a
Yeah, thanks for the suggestion, i will try that out! is there any way to disable release builds entirely in the development environment?
f
which gradle command do you use?
a
basic command ./gradlew :app build
f
are you building a library or an application?, • for android it’s about “assembleDebug” or “assembleRelease”
as you don’t specify the flavor in your command, you are building for every target
a
it’s an app build.. thanks I have add dynamic libraries option, and it’s working great! I ve also added a configuration to prevent the linkRelease task from running during development, which has significantly improved my build times, thanks
🙌 1