-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (37 loc) · 1.04 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
plugins {
id 'java'
id 'maven-publish'
}
group 'net.scoreworks'
version '1.0.0'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
//for sparse matrix interface
implementation 'org.la4j:la4j:0.6.0'
//for complex number class
implementation group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
//include ARPACK bindings for java and all its required dependencies
implementation 'org.bytedeco:javacpp-platform:1.5.5'
implementation 'org.bytedeco:openblas-platform:0.3.23-1.5.9'
implementation 'org.bytedeco:arpack-ng-platform:3.9.0-1.5.9'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testImplementation files('openCV/opencv-460.jar') // for performance comparison
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
test {
useJUnitPlatform()
}
//provide .java classes in sources.jar
java {
withSourcesJar()
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}