my kotlin multiplatform 1.9.0 and jetbrain compose 1.4.3 project suddenly taking very long time to build .linkpod....framworkios... type named task take the most time . its take 40+min to complete common module build . its there any reason ot thing k could do ?
s
SanjayKarki
08/15/2023, 5:09 AM
kotlin compiler version????
a
abu naser
08/15/2023, 7:03 AM
i didnt set any version myself . not k2 for sure . in the log it says 1.9.0 ! maybe . i will let you know when i am able to run my pc . ( no electricity + heavy rain here )
abu naser
08/15/2023, 8:09 AM
./gradlew kotlinc -version
result :
------------------------------------------------------------
Gradle 8.0
------------------------------------------------------------
Build time: 2023-02-13 131521 UTC
Revision: 62ab9b7c7f884426cf79fbedcf07658b2dbe9e97
Kotlin: 1.8.10
Groovy: 3.0.13
Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM: 18.0.1.1 (Oracle Corporation 18.0.1.1+2-6)
OS: Mac OS X 12.5.1 x86_64
s
SanjayKarki
08/15/2023, 8:18 AM
i think you should change kotlin 1.8.10 to .19.0 too
a
abu naser
08/15/2023, 9:09 AM
i have used
Copy code
useCompilerVersion("1.9.0")
and from setting i set compiler to 1.9.0 . but my compiler increased to 1.8.20 not 1.9.0 { using kotlinc -version } and the build time still the same .15 min its still running .
s
SanjayKarki
08/15/2023, 9:58 AM
then use compiler version 1.5.1 as suggested in doc