@@ -23,12 +23,13 @@ dependencies {
23
23
implementation ' org.jetbrains:annotations:26.0.1'
24
24
implementation ' io.github.cdimascio:dotenv-java:3.1.0'
25
25
implementation ' com.ibm.async:asyncutil:0.1.0'
26
+ implementation ' com.amazonaws:aws-java-sdk-s3:1.12.780'
26
27
implementation ' com.fasterxml.jackson.core:jackson-databind:2.18.2'
28
+ implementation ' io.github.cdimascio:dotenv-java:2.2.0'
27
29
testImplementation ' org.testng:testng:7.10.2'
28
30
testImplementation ' org.junit.jupiter:junit-jupiter-api:5.11.4'
29
31
testImplementation ' org.mockito:mockito-core:5.14.2'
30
32
testImplementation ' org.junit.jupiter:junit-jupiter-params:5.11.3'
31
- testImplementation ' com.amazonaws:aws-java-sdk-s3:1.12.780'
32
33
testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine:5.11.4'
33
34
testRuntimeOnly ' org.junit.platform:junit-platform-launcher:1.11.4'
34
35
@@ -70,7 +71,6 @@ tasks.register('testWithoutErrorLogProducer', Test) {
70
71
publishing {
71
72
publications {
72
73
mavenJava(MavenPublication ) {
73
-
74
74
pom {
75
75
name = ' G DATA VaaS'
76
76
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.'
@@ -92,40 +92,22 @@ publishing {
92
92
connection
= ' scm:git:[email protected] :GDATASoftwareAG/vaas.git'
93
93
url = ' https://github.com/GDATASoftwareAG/vaas'
94
94
}
95
+
95
96
from components. java
96
97
}
97
98
}
98
99
}
99
100
100
101
signing {
101
- if (findProperty(" signingKey" ) != null && findProperty(" signingPassword" ) != null ) {
102
- def signingKey = findProperty(" signingKey" )
103
- def signingPassword = findProperty(" signingPassword" )
104
- useInMemoryPgpKeys(signingKey, signingPassword)
105
- sign publishing. publications. mavenJava
106
- } else {
107
- logger. lifecycle(" Skipping signing as this is not a release build or no signing credentials are provided." )
108
- }
102
+ def signingKey = findProperty(" signingKey" )
103
+ def signingPassword = findProperty(" signingPassword" )
104
+ useInMemoryPgpKeys(signingKey, signingPassword)
105
+ sign publishing. publications. mavenJava
109
106
}
110
107
111
-
112
108
repositories {
113
109
maven {
114
110
url = layout. buildDirectory. dir(' repos/releases' )
115
111
}
116
112
}
117
- }
118
-
119
- tasks. register(' publishToLocalMaven' ) {
120
- group = ' publishing'
121
- description = ' Publish the library to the local Maven repository (~/.m2/repository).'
122
-
123
- dependsOn ' publishMavenJavaPublicationToMavenLocal'
124
- }
125
-
126
- tasks. register(' publishToMavenCentral' ) {
127
- group = ' publishing'
128
- description = ' Publish the library to Maven Central.'
129
-
130
- dependsOn ' publishMavenJavaPublicationToMavenRepository'
131
- }
113
+ }
0 commit comments