Created
February 8, 2015 23:58
-
-
Save mrserverless/8c9fa8da4cf8ccc95ed7 to your computer and use it in GitHub Desktop.
newrelic gradle task
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
| configurations { | |
| newrelic | |
| } | |
| dependencies { | |
| newrelic "com.newrelic.agent.java:newrelic-agent:${newrelicVersion}" | |
| } | |
| task newrelicJar(type: Copy) { | |
| from { | |
| configurations.newrelic | |
| } | |
| into buildDir | |
| rename ("newrelic-agent-${newrelicVersion}.jar", 'newrelic.jar') | |
| } | |
| newrelicJar.shouldRunAfter clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment