Skip to content

Instantly share code, notes, and snippets.

@chaudum
Last active August 19, 2016 18:23
Show Gist options
  • Save chaudum/ec49800fbaa1cc37a5021402c79004a6 to your computer and use it in GitHub Desktop.
Save chaudum/ec49800fbaa1cc37a5021402c79004a6 to your computer and use it in GitHub Desktop.
apply plugin: "java"
repositories {
jcenter()
}
dependencies {
compile('com.microsoft.azure:azure-mgmt-utility:0.9.3') {
exclude group: 'stax', module: 'stax-api'
exclude group: 'org.slf4j', module: 'slf4j-api'
exclude group: 'commons-logging', module: 'commons-logging'
exclude group: 'commons-codec', module: 'commons-codec'
exclude group: 'com.fasterxml.jackson.core', module: 'jackson-core'
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
}
}
task azureLibs (type: Copy, dependsOn: ['compileJava']) {
from configurations.testRuntime
into "libs"
}
@chaudum
Copy link
Author

chaudum commented Aug 19, 2016

gradle azureLibs
cp libs/*.jar $CRATE_HOME/plugins/crate-azure-discovery/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment