@@ -16,6 +16,12 @@ plugins {
16
16
17
17
repositories {
18
18
mavenCentral()
19
+
20
+ // Include the Broad artifactory for intel-gkl snapshots. This is temporary
21
+ // until intel-gkl is available on maven central.
22
+ maven {
23
+ url " https://artifactory.broadinstitute.org/artifactory/libs-snapshot/"
24
+ }
19
25
}
20
26
21
27
jacocoTestReport {
@@ -41,6 +47,7 @@ dependencies {
41
47
compile " org.apache.commons:commons-compress:1.4.1"
42
48
compile " org.tukaani:xz:1.5"
43
49
compile " gov.nih.nlm.ncbi:ngs-java:1.2.2"
50
+ compile " com.intel:intel-gkl:0.0.1-20160525.160915-2"
44
51
45
52
testCompile " org.testng:testng:6.9.9"
46
53
}
65
72
}
66
73
}
67
74
68
- processResources {
69
- into " lib/jni/" , {
70
- from (" lib/jni/libIntelDeflater.so" )
71
- }
72
- }
73
-
74
75
import org.gradle.internal.os.OperatingSystem ;
75
76
76
77
tasks. withType(Test ) {
@@ -83,7 +84,6 @@ tasks.withType(Test) {
83
84
84
85
jvmArgs ' -Djava.awt.headless=true' // this prevents awt from displaying a java icon while the tests are running
85
86
86
-
87
87
if (System . env. CI == " true" ) { // if running under a CI output less into the logs
88
88
int count = 0
89
89
@@ -121,6 +121,7 @@ tasks.withType(Test) {
121
121
122
122
test {
123
123
description = " Runs the unit tests other than the SRA tests"
124
+
124
125
useTestNG {
125
126
if ( OperatingSystem . current(). isUnix() ){
126
127
excludeGroups " slow" , " broken" , " sra" , " intel"
@@ -131,7 +132,7 @@ test {
131
132
}
132
133
133
134
task testIntelDeflater (type : Test ){
134
- jvmArgs ' -Dsamjdk.intel_deflater_so_path=lib/jni/libIntelDeflater.so '
135
+ jvmArgs ' -Dsamjdk.try_use_intel_deflater=true '
135
136
136
137
description " Run the Intel Deflater tests"
137
138
useTestNG {
0 commit comments