-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (47 loc) · 1.89 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
49
50
51
52
53
54
55
56
57
58
buildscript {
ext {
dl4j_use_cuda = false
dl4j_version = "1.0.0-beta7"
springBootVersion = '2.4.1.RELEASE'
cuda_version = "10.0"
platform = 'win'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
plugins {
id 'org.springframework.boot' version '2.4.1'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id 'java'
}
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter")
implementation('org.springframework.boot:spring-boot-starter-web')
implementation("org.springframework.boot:spring-boot-starter-logging")
implementation "org.openjfx:javafx-base:11:${platform}"
implementation "org.openjfx:javafx-graphics:11:${platform}"
implementation "org.openjfx:javafx-controls:11:${platform}"
implementation "org.openjfx:javafx-fxml:11:${platform}"
implementation "org.deeplearning4j:deeplearning4j-core:${dl4j_version}"
compileOnly('org.projectlombok:lombok:1.18.12')
annotationProcessor('org.projectlombok:lombok:1.18.12')
if (dl4j_use_cuda) {
//implementation 'org.bytedeco.javacpp-presets:cuda:10.0-7.4-1.4.4:windows-x86_64-redist'
implementation "org.deeplearning4j:deeplearning4j-cuda-${cuda_version}:${dl4j_version}"
implementation "org.nd4j:nd4j-cuda-${cuda_version}:${dl4j_version}"
implementation "org.nd4j:nd4j-cuda-${cuda_version}-platform:${dl4j_version}"
} else {
implementation "org.nd4j:nd4j-native-platform:${dl4j_version}"
}
implementation group: 'org.deeplearning4j', name: 'arbiter-ui', version: "${dl4j_version}"
implementation group: 'org.datavec', name: 'datavec-data-codec', version: "${dl4j_version}"
}