-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
46 lines (36 loc) · 1.07 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
buildscript {
ext.kotlin_version = '1.3.31'
repositories {
maven { url 'http://repo1.maven.org/maven2' }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: "kotlin"
apply plugin: 'application'
compileKotlin {
kotlinOptions.jvmTarget= "1.8"
}
repositories {
maven { url 'http://repo1.maven.org/maven2' }
maven { url 'https://jitpack.io' }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile 'no.tornado:tornadofx:1.+'
compile 'org.ojalgo:ojalgo:47.2.0'
compile 'org.deeplearning4j:deeplearning4j-core:1.0.0-beta2'
compile 'org.nd4j:nd4j-native-platform:1.0.0-beta2'
implementation 'org.nield:kotlin-statistics:1.2.1'
}
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'Kotlin ML Demos',
'Implementation-Version': 1.0,
'Main-Class': 'UIKt'
}
baseName = project.name
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}