Skip to content

Commit

Permalink
include YARN (if available) to default artifacts
Browse files Browse the repository at this point in the history
relates #68
  • Loading branch information
costin committed Aug 15, 2013
1 parent 2fab352 commit c72b228
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.gradle
Expand Up @@ -275,6 +275,7 @@ task javadocJar(type: Jar) {
from javadoc
}


// jar used for testing Hadoop remotely (es-hadoop + tests)
task hadoopTestingJar(type: Jar) {
classifier = 'testing'
Expand Down Expand Up @@ -338,6 +339,12 @@ asciidoctor {
artifacts {
archives sourcesJar
archives javadocJar

// include YARN is available
ext.yarn = file("$libsDir/$name-$version-yarn.jar")
if (yarn.exists()) {
archives yarn
}
}

task wrapper(type: Wrapper) {
Expand Down

0 comments on commit c72b228

Please sign in to comment.