Skip to content

MS-475 Enable K2 compiler#772

Merged
luhmirin-s merged 3 commits into
mainfrom
feature/MS-475-k2-compiler
Jun 27, 2024
Merged

MS-475 Enable K2 compiler#772
luhmirin-s merged 3 commits into
mainfrom
feature/MS-475-k2-compiler

Conversation

@luhmirin-s
Copy link
Copy Markdown
Contributor

Notable changes:

  • Switching from KAPT to KSP allows fully utilising Kotlin 2.0.0 features (kapt automatically downgraded Kotlin to v1.9 on build time)
  • It is now possible to run the IDE in K2 compiler mode and get minor improvements in compilation time.

I tried some basic "benchmarking" (aka gradlew clean and gradlew build multiple times) and got the build time decrease from 60-90s to 45-60s. Although, the timing was very inconsistent.

@luhmirin-s luhmirin-s requested review from a team, BurningAXE, TristramN, alex-vt, alexandr-simprints, meladRaouf and ybourgery and removed request for a team June 25, 2024 15:49
@cla-bot cla-bot Bot added the ... label Jun 25, 2024
@luhmirin-s luhmirin-s force-pushed the feature/MS-475-k2-compiler branch from 7a85e1d to 2242a24 Compare June 26, 2024 07:26
@luhmirin-s luhmirin-s force-pushed the feature/MS-475-k2-compiler branch from 2242a24 to a6fa0e8 Compare June 26, 2024 07:39
@sonarqubecloud
Copy link
Copy Markdown

@luhmirin-s luhmirin-s merged commit 718f163 into main Jun 27, 2024
@luhmirin-s luhmirin-s deleted the feature/MS-475-k2-compiler branch June 27, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants