-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
68 lines (57 loc) · 1.67 KB
/
Copy pathbuild.gradle
File metadata and controls
68 lines (57 loc) · 1.67 KB
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
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent
plugins {
id 'java'
id 'checkstyle'
id 'jacoco'
id 'com.github.spotbugs' version '4.7.1'
id 'com.adarshr.test-logger' version '3.0.0'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
repositories {
mavenCentral()
}
// for use with the Gradle Java Plugin
sourceSets {
main {
java {
srcDirs = ['src/']
}
resources {
srcDirs = ['src/resources/']
}
}
test {
java {
srcDirs = ['tst/']
}
resources {
srcDirs = ['tst/resources/']
}
}
}
dependencies {
implementation 'org.junit.jupiter:junit-jupiter:5.7.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.2'
implementation "com.google.dagger:dagger:2.15"
annotationProcessor"com.google.dagger:dagger-compiler:2.15"
implementation 'com.google.guava:guava:30.1.1-jre'
implementation platform('software.amazon.awssdk:bom:2.15.0')
implementation 'com.amazonaws:aws-java-sdk-cloudwatchmetrics:1.12.154'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '3.10.0'
implementation files("$rootDir/LibrariesAndUtilities/Resources.jar")
}
test {
useJUnitPlatform()
}
project.configurations.implementation.setCanBeResolved(true)
jar {
manifest {
attributes(
"Main-Class": "",
"Class-Path": configurations.implementation.collect { it.name }.join(' ')
)
}
dependsOn('dependencies')
}