Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GenIdea triggers KotlinModule.compile #3947

Open
lefou opened this issue Nov 12, 2024 · 0 comments
Open

GenIdea triggers KotlinModule.compile #3947

lefou opened this issue Nov 12, 2024 · 0 comments

Comments

@lefou
Copy link
Member

lefou commented Nov 12, 2024

After switching an existing project from mill-kotlin plugin to built-in Kotlin support, I noticed that mill.idea.GenIdea/idea triggered compilation of some kotlin modules.

Please note, that this could be related to some special setup in that project, but before the switch, it did not trigger compilation.

> mill --version
Mill Build Tool version 0.12.2
Java version: 21.0.4, vendor: Eclipse Adoptium, runtime: /opt/openjdk-bin-21.0.4_p7
Default locale: de_DE, platform encoding: UTF-8
OS name: "Linux", version: 6.1.90-gentoo-x86_64, arch: amd6

> mill mill.idea.GenIdea/ && mill clean __.compile && time mill mill.idea.GenIdea/
...
real    2m14,607s
user    0m5,509s
sys     0m4,850s

grafik

For comparison, this is with mill-kotlins KotlinModule.

-import mill.kotlinlib.KotlinModule
+import de.tobiasroeser.mill.kotlin.KotlinModule
> mill mill.idea.GenIdea/ && mill clean __.compile && time mill mill.idea.GenIdea/
...
real    0m7,688s
user    0m1,807s
sys     0m0,553s

grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant