-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.gradle
More file actions
70 lines (59 loc) · 1.46 KB
/
build.gradle
File metadata and controls
70 lines (59 loc) · 1.46 KB
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
61
62
63
64
65
66
67
68
69
70
group = 'com.auth0'
apply plugin: "com.jfrog.bintray"
apply plugin: "com.auth0.gradle.oss-library.java"
apply plugin: "jacoco"
logger.lifecycle("Using version ${version} for ${name}")
oss {
name 'guardian'
repository 'Guardian.java'
organization 'auth0'
description 'Java library for Auth0\'s Guardian platform.'
developers {
auth0 {
displayName = 'Auth0'
email = 'oss@auth0.com'
}
nikolaseu {
displayName = 'Nicolas Ulrich'
email = 'nicolas.ulrich@auth0.com'
}
}
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
compileJava {
sourceCompatibility '1.7'
targetCompatibility '1.7'
}
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath "gradle.plugin.com.auth0.gradle:oss-library:0.9.0"
}
}
repositories {
mavenCentral()
}
test {
testLogging {
events "skipped", "failed"
exceptionFormat "short"
}
}
dependencies {
compile 'com.squareup.okhttp3:okhttp:3.14.2'
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.9'
testCompile 'org.mockito:mockito-core:2.5.4'
testCompile 'com.squareup.okhttp3:mockwebserver:3.14.2'
testCompile 'org.hamcrest:java-hamcrest:2.0.0.0'
testCompile 'junit:junit:4.11'
}