diff options
author | dumpstate <dumpstate@outlook.com> | 2015-02-16 00:19:23 +0100 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2015-04-17 11:37:54 -0700 |
commit | 03bce72e72c701532ec344b658b94c4dfcfadcdd (patch) | |
tree | de1e1cfea1f063b8826667a4c8298deba9aefcf5 /test/benchmarks/bench | |
parent | 70d041ccc8332fa44d1e8d91b27fab16ba741568 (diff) | |
download | scala-03bce72e72c701532ec344b658b94c4dfcfadcdd.tar.gz scala-03bce72e72c701532ec344b658b94c4dfcfadcdd.tar.bz2 scala-03bce72e72c701532ec344b658b94c4dfcfadcdd.zip |
Generate .properties files, pack in jars.
Add an sbt task that generates .properties files that are packaged
into jars. The properties file contains Scala version in various
formats.
The task is registered as a resource generator so sbt can properly
track generated files and make sure they are included in packaged
jars.
The implementation of generateVersionPropertiesFile contains a note
on arbitrary order of written properties. We could consider using
https://github.com/etiennestuder/java-ordered-properties
to guarantee a stable order. Or simply ditch using Properties class
and generate a String. Our property files are simple enough that
nothing more fancy is needed.
Diffstat (limited to 'test/benchmarks/bench')
0 files changed, 0 insertions, 0 deletions