-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
71 lines (58 loc) · 2.17 KB
/
build.gradle
File metadata and controls
71 lines (58 loc) · 2.17 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.5.31'
}
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'application'
mainClassName = "com.mirf.Main"
libsDirName = "$project.projectDir/out"
sourceCompatibility = 16
// jar {
// manifest {
// attributes 'Implementation-Title': 'med_sample',
// 'Implementation-Version': version,
// 'Main-Class': 'com.mirf.Main'
// }
// from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
// }
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
testImplementation group: 'org.hamcrest', name: 'hamcrest-core', version: '1.3'
testImplementation group: 'junit', name: 'junit-dep', version: '4.11'
testImplementation group: 'org.hamcrest', name: 'hamcrest-library', version: '1.3'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '1.9.+'
implementation 'com.github.micheljung:nocatch:1.1'
implementation fileTree(dir: 'libs', include: '*.jar')
implementation fileTree(dir: 'libs/itext', include: '*.jar')
implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "org.jetbrains.kotlin:kotlin-reflect:1.5.31"
implementation group: 'ch.qos.logback', name: 'logback-core', version: '1.2.3'
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
implementation group: 'org.tensorflow', name: 'tensorflow', version: '1.15.0'
implementation group: 'org.tensorflow', name: 'libtensorflow', version: '1.15.0'
implementation group: 'org.jfree', name: 'jfreechart', version: '1.0.19'
implementation group: 'commons-io', name: 'commons-io', version: '2.5'
}
distributions {
}
task showMeCache {
configurations.runtimeClasspath.each { println it }
println libsDirName
}
compileKotlin {
kotlinOptions {
jvmTarget = "16"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "16"
}
}
if (JavaVersion.current() != JavaVersion.VERSION_16) {
throw new GradleException("This build must be run with java 16")
}