Skip to content

Commit 90ca3fd

Browse files
committed
fix: adding missin class files to jar #10
1 parent eac4afe commit 90ca3fd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#
2-
#Wed Jul 16 19:08:12 CEST 2025
2+
#Thu Jul 17 15:25:17 CEST 2025
33
description="Report static code analysis to Bitbucket Cloud."
44
group=se.bjurr.violations
5-
version=1.35.0
6-
relocate=org,com,javax,se,io
75
mainClass=se.bjurr.violations.main.Main
6+
maxViolations=16
7+
relocate=org\:org,jakarta\:jakarta,javax\:javax,com\:com,se\:se,io\:io
88
repoType=COMMAND
9-
maxViolations=17
109
sourceCompatibility=11
1110
targetCompatibility=11
11+
version=1.35.1

src/main/java/se/bjurr/violations/main/Runner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public void main(final String args[]) throws Exception {
178178
+ this.toString());
179179
}
180180

181-
if (this.apiToken != null && (this.username != null || this.password != null)) {
181+
if (!this.apiToken.isEmpty() && (!this.username.isEmpty() || !this.password.isEmpty())) {
182182
throw new Exception(
183183
"API tokens and application passwords cannot be used simultaneously. Specify either one of them.");
184184
}

0 commit comments

Comments
 (0)