Skip to content

Latest commit

 

History

History

dynamic-mappings

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Dynamic mappings

Show case for using java system properties to change your build behaviour. Used to create different output packages.

sbt -Denv=test universal:packageBin
sbt -Denv=stage universal:packageBin
sbt -Denv=prod universal:packageBin

The BuildEnv autoplugin is responsible for parsing the env parameter.