-
Notifications
You must be signed in to change notification settings - Fork 129
/
build.gradle
44 lines (34 loc) · 1.18 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
plugins {
id 'java-library'
}
repositories {
mavenCentral()
}
apply plugin: 'maven-publish'
apply plugin: 'groovy'
apply from: file('publish.gradle')
dependencies {
implementation 'com.mashape.unirest:unirest-java:1.4.9'
implementation 'org.apache.httpcomponents:httpclient:4.5.2'
implementation 'org.apache.httpcomponents:httpasyncclient:4.1.1'
implementation 'org.apache.httpcomponents:httpmime:4.5.2'
implementation 'com.google.code.gson:gson:2.6.2'
implementation 'org.apache.commons:commons-lang3:3.4'
implementation 'commons-io:commons-io:2.5'
implementation 'com.intellij:annotations:12.0'
testImplementation 'net.coobird:thumbnailator:0.4.8'
testImplementation 'org.codehaus.groovy:groovy-all:2.4.6'
testImplementation 'org.spockframework:spock-core:1.0-groovy-2.4'
}
test.onlyIf {
hasProperty('azure.cognitive.face.subscriptionKey') && hasProperty('azure.cognitive.emotion.subscriptionKey')
// we don't run tests on builds due to subscription quota reasons
//Boolean.getBoolean('run.tests')
}
//tasks.named('test') {
// useJUnitPlatform()
//}
jar {
from rootProject.file('LICENSE')
from rootProject.file('NOTICE')
}