-
Notifications
You must be signed in to change notification settings - Fork 19
/
build.gradle
64 lines (50 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
plugins {
id 'java'
id 'maven'
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
// In this section you declare where to find the dependencies of your project
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
// Gson
implementation 'com.google.code.gson:gson:2.8.6'
// RxJava
implementation 'io.reactivex.rxjava2:rxjava:2.2.15'
// Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.6.2'
implementation 'com.squareup.retrofit2:converter-gson:2.6.1'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.6.2'
// Bouncy Castle
implementation 'org.bouncycastle:bcprov-jdk15on:1.69'
// JNA
implementation 'net.java.dev.jna:jna:5.7.0'
// Testing
testCompileOnly 'junit:junit:4.12'
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine:5.5.2'
testImplementation("org.junit.platform:junit-platform-engine:1.5.1")
testImplementation("org.junit.platform:junit-platform-launcher:1.5.1")
}
test {
useJUnitPlatform()
testLogging {
showStandardStreams = true
}
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}