-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (43 loc) · 1.48 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
buildscript {
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.4.1.RELEASE")
classpath 'com.google.appengine:gradle-appengine-plugin:1.9.42'
}
repositories {
jcenter()
mavenCentral()
}
}
repositories {
jcenter()
mavenCentral()
}
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'spring-boot'
apply plugin: 'application'
mainClassName = "pl.lukaszbyjos.emotionshooterserver.EmotionShooterApp"
distZip {
into(project.name) {
from '.'
include 'google-services.json'
into project.name + '/bin'
}
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web:1.4.1.RELEASE")
compile group: 'org.springframework', name: 'spring-websocket', version: '4.3.4.RELEASE'
compile group: 'org.springframework', name: 'spring-messaging', version: '4.3.4.RELEASE'
compile group: 'org.springframework', name: 'spring-test', version: '4.3.4.RELEASE'
compile 'ch.qos.logback:logback-classic:1.1.7'
compile group: 'org.projectlombok', name: 'lombok', version: '1.16.10'
compile("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.8.1")
compile 'com.google.apis:google-api-services-vision:v1-rev26-1.22.0'
compile 'io.reactivex:rxjava:1.2.1'
compile 'org.slf4j:slf4j-api:1.7.21'
testCompile 'junit:junit:4.12'
}
bootRun.doFirst {
println("Setting env variable")
environment 'GOOGLE_APPLICATION_CREDENTIALS', 'google-services.json'
}