-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle
113 lines (99 loc) · 3.35 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
plugins {
id 'java'
id 'java-library'
id 'maven-publish'
id 'signing'
}
group = 'de.gdata'
version = '0.0.0'
repositories {
mavenCentral()
}
java {
withJavadocJar()
withSourcesJar()
}
dependencies {
implementation 'org.projectlombok:lombok:1.18.36'
implementation 'com.google.code.gson:gson:2.12.1'
implementation 'org.jetbrains:annotations:26.0.2'
implementation 'io.github.cdimascio:dotenv-java:3.1.0'
implementation 'com.ibm.async:asyncutil:0.1.0'
implementation 'com.amazonaws:aws-java-sdk-s3:1.12.780'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
implementation 'io.github.cdimascio:dotenv-java:3.1.0'
testImplementation 'org.testng:testng:7.10.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.4'
testImplementation 'org.mockito:mockito-core:5.15.2'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.11.4'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.4'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.4'
compileOnly 'org.projectlombok:lombok:1.18.36'
annotationProcessor 'org.projectlombok:lombok:1.18.36'
testCompileOnly 'org.projectlombok:lombok:1.18.36'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.36'
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
showExceptions true
exceptionFormat "full"
showCauses true
showStackTraces true
showStandardStreams true
}
}
tasks.register('testWithoutErrorLogProducer', Test) {
useJUnitPlatform {
excludeTags 'ErrorLogProducer'
}
testLogging {
events "passed", "skipped", "failed"
showExceptions true
exceptionFormat "full"
showCauses true
showStackTraces true
showStandardStreams true
}
}
publishing {
publications {
mavenJava(MavenPublication) {
pom {
name = 'G DATA VaaS'
description = 'Verdict-as-a-Service (VaaS) is a service that provides a platform for scanning files for malware and other threats. It allows easy integration in your application. With a few lines of code, you can start scanning files for malware.'
url = 'https://github.com/GDATASoftwareAG/vaas'
licenses {
license {
name = 'MIT'
url = 'https://github.com/GDATASoftwareAG/vaas/blob/main/LICENSE'
}
}
developers {
developer {
id = 'gdata'
name = 'GDATA Cyberdefense'
email = '[email protected]'
}
}
scm {
connection = 'scm:git:[email protected]:GDATASoftwareAG/vaas.git'
url = 'https://github.com/GDATASoftwareAG/vaas'
}
from components.java
}
}
}
signing {
def signingKey = findProperty("signingKey")
def signingPassword = findProperty("signingPassword")
useInMemoryPgpKeys(signingKey, signingPassword)
sign publishing.publications.mavenJava
}
repositories {
maven {
url = layout.buildDirectory.dir('repos/releases')
}
}
}