-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathbuild.gradle
More file actions
87 lines (76 loc) · 2.7 KB
/
build.gradle
File metadata and controls
87 lines (76 loc) · 2.7 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
buildscript { // Configuration for building
repositories {
mavenCentral()
}
}
plugins {
id 'java-library'
id 'maven-publish'
id "com.vanniktech.maven.publish" version "0.34.0"
}
apply plugin: 'java' // standard Java tasks
def props = new Properties()
file("version.properties").withInputStream { props.load(it) }
group 'com.google.maps'
version props.libVersion
ext.artifactId = 'fleetengine-auth'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories { // repositories for Jar's you access in your code
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots' // SNAPSHOT repository (if needed)
}
mavenCentral()
}
mavenPublishing {
publishToMavenCentral()
signAllPublications()
pom {
name = "Fleet Engine Auth Library"
description = "Provides a set of tools to simplify the Fleet Engine setup process."
url = "https://github.com/googlemaps/java-fleetengine-auth"
licenses {
license {
name = "The Apache License, Version 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
distribution = "http://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
organization {
name = 'Google, Inc.'
url = 'http://www.google.com'
}
issueManagement {
system = 'GitHub Issues'
url = 'http://github.com/googlemaps/java-fleetengine-auth/issues'
}
scm {
connection = 'scm:git:git://github.com/googlemaps/java-fleetengine-auth.git'
developerConnection = 'scm:git:ssh://github.com/googlemaps/java-fleetengine-auth.git'
url = 'http://github.com/googlemaps/java-fleetengine-auth/'
tag = 'HEAD'
}
developers {
developer {
id.set("google")
name.set("Google Inc.")
}
}
}
}
dependencies {
implementation 'jstl:jstl:1.2'
annotationProcessor 'com.google.auto.value:auto-value:1.6.2'
// Add dependencies here
implementation 'com.auth0:java-jwt:3.10.2'
implementation 'com.google.api:gax:1.65.1'
implementation 'com.google.api:gax-grpc:1.65.1'
implementation 'com.google.auth:google-auth-library-oauth2-http:0.26.0'
implementation 'com.google.auto.value:auto-value-annotations:1.6.2'
implementation 'com.google.guava:guava:31.0.1-jre'
implementation 'javax.annotation:javax.annotation-api:1.2'
implementation 'io.grpc:grpc-core:1.9.1'
testImplementation 'junit:junit:4.13.1'
testImplementation 'com.google.truth:truth:1.1'
testImplementation 'org.mockito:mockito-core:3.12.4'
}