Skip to content

Commit

Permalink
Merge pull request #2 from olafurpg/buildinfo
Browse files Browse the repository at this point in the history
Enable sbt-buildinfo
  • Loading branch information
olafurpg authored Aug 29, 2020
2 parents c265890 + c146ea6 commit 0ca0ac5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@ lazy val plugin = project
moduleName := "sbt-native-image",
sbtPlugin := true,
sbtVersion.in(pluginCrossBuild) := "1.0.0",
crossScalaVersions := List(scala212)
crossScalaVersions := List(scala212),
buildInfoPackage := "sbtnativeimage",
buildInfoKeys := Seq[BuildInfoKey](
version
)
)
.enablePlugins(BuildInfoPlugin)

lazy val example = project
.in(file("example"))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package sbtnativeImage
package sbtnativeimage

import java.io.File
import java.nio.file.Files
Expand Down
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.3")
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0")

unmanagedSourceDirectories.in(Compile) +=
baseDirectory.in(ThisBuild).value.getParentFile /
Expand Down

0 comments on commit 0ca0ac5

Please sign in to comment.