-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
72 lines (55 loc) · 1.91 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
plugins {
id 'java'
}
group = 'org.example'
version = '1.0-SNAPSHOT'
sourceCompatibility = '11'
targetCompatibility = '11'
repositories {
mavenCentral()
}
tasks.withType(Checkstyle) {
reports {
xml.enabled false
html.enabled true
}
}
dependencies {
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
implementation 'com.google.guava:guava:30.1.1-jre'
testImplementation 'org.mockito:mockito-inline:5.0.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
implementation group: 'com.google.code.gson', name: 'gson', version: '2.7'
implementation 'com.google.dagger:dagger:2.42'
annotationProcessor 'com.google.dagger:dagger-compiler:2.42'
// https://mvnrepository.com/artifact/org.testng/testng
implementation group: 'org.testng', name: 'testng', version: '6.14.3'
// Added for AWS Lambda Functions
implementation platform('com.amazonaws:aws-java-sdk-bom:1.11.1000')
implementation 'com.amazonaws:aws-java-sdk-dynamodb'
implementation 'com.amazonaws:aws-java-sdk-s3'
implementation 'com.amazonaws:aws-lambda-java-core:1.2.1'
implementation 'com.amazonaws:aws-lambda-java-events:2.2.9'
runtimeOnly 'com.amazonaws:aws-lambda-java-log4j2:1.2.0'
// for Base32 encoding
implementation 'commons-codec:commons-codec:1.17.0'
// Log4j
implementation 'org.apache.logging.log4j:log4j-core:2.14.1'
implementation 'org.apache.logging.log4j:log4j-api:2.14.1'
// BouncyCastle Argon2
implementation 'org.bouncycastle:bcprov-jdk15on:1.68'
// JWT OAuth Token
implementation 'com.auth0:java-jwt:4.0.0'
}
test {
useJUnitPlatform()
}
task buildZip(type: Zip) {
from compileJava
from processResources
into('./lib') {
from configurations.runtimeClasspath
}
}