Run BuildInfo at compile instead of run. #4766
Answered
by
lolgab
dicklieber
asked this question in
Q&A
-
I've been using BuildInfo, works great but it is invoked during run. It would be great if it could generate the BuildInfo.scala file during compile. I tried various approached, even used ChatGPT to help setup build.mil.
But buildInfo() is not found. Any ideas? |
Beta Was this translation helpful? Give feedback.
Answered by
lolgab
Mar 25, 2025
Replies: 1 comment 5 replies
-
Maybe |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
lefou
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe
def buildInfoStaticCompiled: Boolean = true
is what you want?