Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Build Info Tag Plugin for Grails
Groovy Gosu JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
grails-app
scripts
test/projects/test-build-info
web-app/WEB-INF
.classpath
.gitignore
.project
BuildInfoTagGrailsPlugin.groovy
README.md
application.properties

README.md

Build Info Tag Plugin

This Grails plugin puts a build.info file in the classpath and provides a some GSP tags to display the information in it.

For now, the build number is the date and the plugin also collects the GIT commit number and displays it (in Windows it manually parses the refs file).

Installation

Put in app BuildConfig plugin dependencies:

compile ":build-info-tag:0.3"

Tags

  • build:buildInfo : provides a list of all properties
  • build:buildDate: provides only the value of the buildDate property
  • build:gitCommit: provides only the value of the gitCommit property
  • build:systemName: provides only the value of the systemName property
  • build:timezone: provides only the value of the timezone property
Something went wrong with that request. Please try again.