Skip to content


Subversion checkout URL

You can clone with
Download ZIP
An xsbt plugin to reflect build properties into source code (obsolete)
Branch: master

add license

latest commit 604e5cb892
Herr Ritschwumm authored
Failed to load latest commit information.
src/main/scala initial release
.gitignore initial release
LICENSE add license
README version update
build.sbt version update


An xsbt plugin to reflect build properties into source code.

To build this code, get and install SBT from

Build and publish the plugin:
    git clone
    cd xstb-reflect
    sbt publish-local
Add the plugin to your project in project/plugins/build.sbt:
	addSbtPlugin("de.djini" % "xsbt-reflect" % "0.0.3")
Include the plugin in you project's build.sbt:

	reflectPackage	:= "my.pack"
	reflectClass	:= "Reflected"
	sourceGenerators in Compile <+= reflect map identity

With this setup, you can access the name and version of your project
from scala as and my.pack.Reflected.version .
Something went wrong with that request. Please try again.