-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.gradle
More file actions
58 lines (45 loc) · 1.51 KB
/
build.gradle
File metadata and controls
58 lines (45 loc) · 1.51 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
group 'de.fau.cs.jstk'
version = '0.1.3-3'
apply plugin: 'java'
apply plugin: 'idea'
sourceCompatibility = 1.8
repositories {
jcenter()
maven {
url "https://dl.bintray.com/sikoried/github"
}
}
/*
task copyToLib(type: Copy) {
into "$buildDir/libs/lib"
from configurations.compile
}
*/
jar {
// dependsOn copyToLib
manifest {
attributes 'Implementation-Title': 'jstk', 'Implementation-Version': version
}
}
task env (dependsOn: configurations.implementation) {
doLast {
println "export CLASSPATH=${(configurations.runtime + sourceSets.main.runtimeClasspath).collect { File file -> file.absolutePath } join ':' }"
}
}
dependencies {
implementation("com.github.wendykierp:JTransforms:${jtransforms_version}")
implementation("gov.nist.math:jama:${jama_version}")
implementation("org.apache.commons:commons-lang3:${commons_lang3_version}")
implementation("org.apache.logging.log4j:log4j-core:${log4j_version}")
implementation("org.apache.logging.log4j:log4j-jul:${log4j_version}")
implementation("com.github.sikoried:fjama"){
version {
branch = 'master'
}
}
testImplementation("org.junit.jupiter:junit-jupiter-api:${junit_jupiter_version}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-params:${junit_jupiter_version}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junit_jupiter_version}")
testRuntimeOnly("org.junit.platform:junit-platform-launcher:${junit_platform_version}")
/* compile fileTree(dir: '../lib', include: '*.jar') */
}