From 336a272c6f82560318b0b1641630731bc96dc242 Mon Sep 17 00:00:00 2001 From: kimchy Date: Mon, 29 Mar 2010 12:45:13 +0300 Subject: [PATCH] fix build --- plugins/attachments/build.gradle | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/plugins/attachments/build.gradle b/plugins/attachments/build.gradle index 061c82beed6..b780741d7e6 100644 --- a/plugins/attachments/build.gradle +++ b/plugins/attachments/build.gradle @@ -8,14 +8,26 @@ explodedDistDir = new File(distsDir, 'exploded') manifest.mainAttributes("Implementation-Title": "ElasticSearch::Plugins::Attachments", "Implementation-Version": rootProject.version, "Implementation-Date": buildTimeStr) +configurations.compile.transitive = true +configurations.testCompile.transitive = true + // no need to use the resource dir sourceSets.main.resources.srcDir 'src/main/java' sourceSets.test.resources.srcDir 'src/test/java' +configurations { + dists + distLib { + visible = false + transitive = false + } +} + dependencies { compile project(':elasticsearch') compile('org.apache.tika:tika-app:0.6') { transitive = false } + distLib('org.apache.tika:tika-app:0.6') { transitive = false } testCompile project(':test-testng') @@ -37,7 +49,7 @@ task explodedDist(dependsOn: [jar], description: 'Builds the plugin zip file') < [explodedDistDir]*.mkdirs() copy { - from configurations.compile + from configurations.distLib into explodedDistDir }