diff options
Diffstat (limited to 'poi-excelant/build.gradle')
-rw-r--r-- | poi-excelant/build.gradle | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle index d7562e554d..ee7cd664c0 100644 --- a/poi-excelant/build.gradle +++ b/poi-excelant/build.gradle @@ -105,6 +105,8 @@ task cacheTest9(type: Copy) { } jar { + dependsOn cacheJava9 + destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}") if (JavaVersion.current() == JavaVersion.VERSION_1_8) { @@ -120,7 +122,7 @@ jar { // Create a separate jar for test-code to depend on it in other projects // See http://stackoverflow.com/questions/5144325/gradle-test-dependency -task testJar(type: Jar, dependsOn: testClasses) { +task testJar(type: Jar, dependsOn: [ testClasses, cacheTest9 ] ) { destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}-tests") classifier 'tests' |