-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
48 lines (43 loc) · 1.61 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
45
46
47
48
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.5.31'
}
group 'com.zaleslaw.kotlin-deep-learning'
version '0.3.0'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31'
implementation 'org.jetbrains.kotlinx:kotlin-deeplearning-api:0.3.0'
implementation 'org.jetbrains.kotlinx:kotlin-deeplearning-onnx:0.3.0'
implementation 'org.jetbrains.kotlinx:kotlin-deeplearning-visualization:0.3.0'
implementation 'org.jetbrains.kotlinx:dataframe:0.8.0-dev-426'
implementation 'org.apache.logging.log4j:log4j-api:2.14.1'
implementation 'org.apache.logging.log4j:log4j-core:2.14.1'
implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.14.1'
implementation "io.ktor:ktor-server-core:1.6.5"
implementation "io.ktor:ktor-server-netty:1.6.5"
implementation "ch.qos.logback:logback-classic:1.2.5"
implementation "io.ktor:ktor-client-core:1.6.5"
implementation "io.ktor:ktor-client-cio:1.6.5"
implementation "io.ktor:ktor-client-logging:1.6.5"
implementation "io.ktor:ktor-html-builder:1.6.5"
/*
// to run on GPU (if CUDA is updated and machine with NVIDIA onboard)
compile 'org.tensorflow:libtensorflow:1.15.0'
compile 'org.tensorflow:libtensorflow_jni_gpu:1.15.0'*/
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Version': '1.15'
}
classifier = 'all'
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}