-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathbuild.gradle
40 lines (31 loc) · 1.02 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
group 'edu.ml.tensorflow.java'
version '1.0.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
sourceCompatibility = 1.8
targetCompatibility = 1.8
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.10.RELEASE")
}
}
jar {
baseName = 'java-tensorflow-service'
version = '0.1.0'
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.tensorflow', name: 'tensorflow', version: '1.6.0'
compile group: 'org.tensorflow', name: 'libtensorflow', version: '1.6.0'
// Please read the requirements for the GPU support here: https://www.tensorflow.org/install/install_java
// compile group: 'org.tensorflow', name: 'libtensorflow_jni_gpu', version: '1.6.0'
compile group: 'commons-io', name: 'commons-io', version: '2.6'
compile 'org.apache.commons:commons-math3:3.2'
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
}