Created
December 19, 2012 13:03
-
-
Save freekh/4336532 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt._ | |
import Keys._ | |
import play.Project._ | |
object ApplicationBuild extends Build { | |
val appName = "javatest" | |
val appVersion = "1.0-SNAPSHOT" | |
val appDependencies = Seq( | |
// Add your project dependencies here, | |
javaCore, | |
javaJdbc, | |
javaEbean | |
) | |
import VersionInfoPlugin._ | |
//add this: ^ import the plugin | |
val main = play.Project(appName, appVersion, appDependencies).settings( | |
// Add your own project settings here | |
).settings(versionInfoSettings: _*) | |
//add this: ^ enable the plugin | |
.settings( | |
versionInfoPackage := "com.mycompany.utils" | |
//add this: ^ the package for the generated class | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment