Created
September 28, 2015 17:45
-
-
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
This file contains 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
// 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