-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
60 lines (53 loc) · 1.74 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
59
60
/*
* Exercises for Devoxx UK 2018 workshop "Getting your hands dirty with deep learning in java"
*/
apply plugin: 'io.pry.gradle.offline_dependencies'
apply plugin: 'java'
dl4j_version = "0.9.1"
buildscript {
ext {
dl4j_version = "0.9.1"
}
repositories {
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'gradle.plugin.io.pry.gradle.offline_dependencies:gradle-offline-dependencies-plugin:0.3'
}
}
repositories {
maven { url offlineRepositoryRoot }
}
offlineDependencies {
repositories {
maven { url 'https://plugins.gradle.org/m2/' }
mavenCentral()
jcenter()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
}
allprojects {
apply plugin: "java"
apply plugin: "application"
repositories {
maven { url offlineRepositoryRoot }
maven { url 'https://plugins.gradle.org/m2/' }
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
mavenCentral()
jcenter()
}
dependencies {
compile "org.deeplearning4j:deeplearning4j-core:${dl4j_version}"
compile "org.deeplearning4j:deeplearning4j-ui_2.11:${dl4j_version}"
// use the following to use CPU
compile "org.nd4j:nd4j-native-platform:${dl4j_version}"
// or the following to use GPU (requires CUDA8 already installed)
//compile "org.nd4j:nd4j-cuda-8.0-platform:${dl4j_version}"
compile 'jfree:jfreechart:1.0.13'
//compile 'org.jfree:jcommon:1.0.13'
//compile 'com.oracle:javafx:2.2.3'
compile "org.slf4j:slf4j-simple:1.7.25"
compile "org.slf4j:slf4j-api:1.7.25"
compile 'org.apache.httpcomponents:httpclient:4.3.5'
}
}