-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
62 lines (49 loc) · 1.75 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
53
54
55
56
57
58
59
60
61
62
plugins {
id 'java'
}
group 'com.jakebacker'
version 'v3.0.1'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile 'com.google.photos.library:google-photos-library-client:1.3.0'
compile 'com.google.api-client:google-api-client:1.28.0'
compile 'io.grpc:grpc-netty-shaded:1.20.0'
compile 'io.grpc:grpc-protobuf:1.20.0'
compile 'io.grpc:grpc-stub:1.20.0'
//compile 'com.google.api:gax:1.44.0',
// 'com.google.api:gax-grpc:1.44.0'
compile "com.squareup.okhttp3:okhttp:4.0.0"
compile group: 'org.json', name: 'json', version: '20180813'
compile group: 'net.lingala.zip4j', name: 'zip4j', version: '1.3.2'
compile group: 'com.google.oauth-client', name: 'google-oauth-client-jetty', version: '1.28.0'
compile group: 'com.google.oauth-client', name: 'google-oauth-client-java6', version: '1.28.0'
compile 'org.apache.commons:commons-io:1.3.2'
}
jar {
from {
configurations.compile.collect {it}
}
manifest {
attributes (
'Class-Path': configurations.compile.collect { it.getName()}.join(' '),
'Manifest-Version': version,
'Main-Class': 'com.jakebacker.gpfs.GooglePhotosFileStorage'
)
}
}
task fatJar(type: Jar) {
manifest {
attributes (
'Class-Path': configurations.compile.collect { it.getName()}.join(' '),
'Manifest-Version': version,
'Main-Class': 'com.jakebacker.gpfs.GooglePhotosFileStorage'
)
}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
//buildScan { termsOfServiceUrl = 'https://gradle.com/terms-of-service'; termsOfServiceAgree = 'yes' }