Skip to content

Commit 2fdb508

Browse files
committed
Fix buildHealth warnings
1 parent 023633d commit 2fdb508

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

hello/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
dependencies {
7-
implementation libs.jspecify
7+
compileOnly libs.jspecify
88
implementation libs.slf4j
99
runtimeOnly libs.logback
1010

hello/src/main/java/module-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module com.ak.app {
2-
requires org.jspecify;
2+
requires static org.jspecify;
33
requires org.slf4j;
44

55
exports com.ak.app;
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
package com.ak.app;
22

3+
import org.assertj.core.api.Assertions;
34
import org.junit.jupiter.api.Test;
45

5-
import static org.assertj.core.api.Assertions.assertThatNoException;
6-
76
class MainAppTest {
87
@Test
98
void testMain() {
10-
assertThatNoException().isThrownBy(MainApp::main);
9+
Assertions.assertThatNoException().isThrownBy(MainApp::main);
1110
}
1211
}

0 commit comments

Comments
 (0)