/
build.gradle
91 lines (71 loc) · 2.38 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
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
88
89
90
91
buildscript {
repositories {
jcenter()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
dependencies {
classpath 'co.present.rpc:compiler:0.2-SNAPSHOT'
}
}
plugins {
id 'java'
id 'war'
}
repositories {
maven {
url 'https://dl.bintray.com/palantir/releases/'
}
}
apply plugin: 'co.present.rpc.compiler'
compileJava {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
configurations.all {
// This is pulled in via appengine-gcs-client. :-(
exclude group: 'com.google.guava', module: 'guava-jdk5'
}
dependencies {
compile 'com.google.appengine:appengine-api-1.0-sdk:+' // Latest App Engine Api's
providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
implementation deps.slf4j.jdk14
// Force newer version
implementation 'com.google.http-client:google-http-client:1.38.0'
implementation deps.guava
implementation 'co.present.rpc:server:0.2-SNAPSHOT'
implementation 'co.present.rpc:client:0.2-SNAPSHOT'
implementation 'com.google.inject:guice:4.2.2:no_aop'
implementation 'com.google.inject.extensions:guice-servlet:4.2.3'
implementation 'com.googlecode.objectify:objectify:5.1.22'
// Force older version of okio
implementation 'com.squareup.okio:okio:2.9.0'
implementation deps.gson
implementation deps.wire.gson
implementation deps.present.engine
implementation deps.okhttp;
// Linked from https://github.com/google/s2-geometry-library-java/issues/7.
implementation "io.sgr:s2-geometry-library-java:1.0.1";
implementation 'com.google.firebase:firebase-admin:7.1.0'
// 4.1.34.Final included in Firebase, which has vulnerabilities.
implementation 'io.netty:netty-codec-http:4.1.56.Final'
// Newer versions
implementation 'com.google.oauth-client:google-oauth-client:1.31.2'
implementation 'commons-codec:commons-codec:1.15'
testCompile 'junit:junit:4.13.1'
testCompile "org.mockito:mockito-core:1.+"
testCompile 'com.google.appengine:appengine-testing:+'
testCompile 'com.google.appengine:appengine-api-stubs:+'
testCompile 'com.google.appengine:appengine-tools-sdk:+'
}
// Builds an exploded war
task explodedWar(type: Sync) {
into "$buildDir/war"
with war
}
war.dependsOn explodedWar
// TODO: Copy web app from Ionic build.
//war {
// from "../react/build"
//}