-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (39 loc) · 1.44 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
plugins {
id 'java-library'
}
group = 'com.saasquatch'
version = '1.0-SNAPSHOT'
tasks.compileJava.options.encoding = 'UTF-8'
tasks.compileTestJava.options.encoding = 'UTF-8'
tasks.javadoc.options.encoding = 'UTF-8'
repositories {
mavenCentral()
}
dependencies {
api 'org.reactivestreams:reactive-streams:1.0.4'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
/*
* This is a lightweight Base64 implementation that works on both Android and the regular JRE.
* java.util.Base64 is not available on earlier versions of Android.
* android.util.Base64 does not work on regular JRE.
* Commons codec should be avoided because Android comes bundled with an early version.
* Apache client5 comes with a Base64 class but it's considered internal API.
*/
implementation 'net.iharder:base64:2.3.9'
implementation 'org.apache.httpcomponents.client5:httpclient5:5.4.1'
implementation 'io.reactivex.rxjava3:rxjava:3.1.9'
// Version 2.11.0 requires Android API level 21
implementation 'com.google.code.gson:gson:2.10.1'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.3'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.11.3'
testImplementation 'com.google.guava:guava:33.3.1-jre'
testImplementation 'io.projectreactor:reactor-core:3.7.0'
}
tasks.test {
useJUnitPlatform()
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
}
}