Ensure that SBT project version and application version are in sync

This commit is contained in:
Jarek Sacha 2023-06-10 09:51:17 -04:00
parent 9a0cb694f7
commit 8a417ceedb
No known key found for this signature in database
GPG key ID: F29625CE62288163
3 changed files with 10 additions and 4 deletions

View file

@ -48,3 +48,8 @@ nativeConfig ~= { c =>
//nativeConfig ~= { c =>
// c.withCompileOptions(c.compileOptions ++ Seq("-v"))
//}
// Version info generation from SBT configuration
enablePlugins(BuildInfoPlugin)
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion)
buildInfoPackage := "ij_plugins.imagej_launcher"