Skip to content

Commit

Permalink
Update readme.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi authored Sep 12, 2024
1 parent 132063c commit 4fc6f86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contrib/buildinfo/readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ package build
import $ivy.`com.lihaoyi::mill-contrib-buildinfo:`
import mill.contrib.buildinfo.BuildInfo
object project extends BuildInfo {
object project extends BuildInfo with ScalaModule {
val name = "project-name"
val buildInfoPackageName = "com.organization"
def buildInfoMembers = Seq(
Expand All @@ -37,6 +37,8 @@ def main = {
}
----

The above example uses `ScalaModule` but `BuildInfo` can also be used with `JavaModule`s

== Configuration options

* `def buildInfoMembers: T[Seq[BuildInfo.Value]]`
Expand Down

0 comments on commit 4fc6f86

Please sign in to comment.