Skip to content

Instantly share code, notes, and snippets.

@arose13
Created September 28, 2015 17:45
Show Gist options
  • Save arose13/9c05e3cd293f7bdabbcc to your computer and use it in GitHub Desktop.
Save arose13/9c05e3cd293f7bdabbcc to your computer and use it in GitHub Desktop.
This snippet is used to generate a pom.xml that heroku can use from your gradle file
// Put this where plugins are at
apply plugin: 'maven'
// Put this at the bottom of the build.gradle file
task generatePom << {
pom {
project {
inceptionYear = '2015'
}
}.writeTo("pom.xml")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment