File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 - name : Setup Gradle
2626 uses : gradle/actions/setup-gradle@v4
2727 with :
28- gradle-version : ' 8.14.3 '
28+ gradle-version : ' 9.0.0 '
2929 - name : Cache SonarCloud packages
3030 uses : actions/cache@v4
3131 with :
Original file line number Diff line number Diff line change 11[versions ]
2- javamodularity-moduleplugin = ' 1.8.15'
32sonarqube = ' 6.2.0.5505'
43jacocolog = ' 3.1.0'
54spotbugs = ' 6.2.2'
@@ -15,7 +14,6 @@ slf4j = '2.1.0-alpha1'
1514logback = ' 1.5.18'
1615
1716[plugins ]
18- javamodularity-moduleplugin = { id = ' org.javamodularity.moduleplugin' , version.ref = ' javamodularity-moduleplugin' }
1917sonarqube = { id = ' org.sonarqube' , version.ref = ' sonarqube' }
2018jacocolog = { id = ' org.barfuin.gradle.jacocolog' , version.ref = ' jacocolog' }
2119spotbugs = { id = ' com.github.spotbugs' , version.ref = ' spotbugs' }
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ plugins {
22 id ' java-library'
33 id ' application'
44 alias(libs. plugins. gradleup. shadow)
5- alias(libs. plugins. javamodularity. moduleplugin)
65}
76
87dependencies {
@@ -23,12 +22,7 @@ shadowJar {
2322application {
2423 mainModule = ' com.ak.app'
2524 mainClass = ' com.ak.app.MainApp'
26- }
27-
28- tasks {
29- test {
30- moduleOptions {
31- runOnClasspath = true
32- }
33- }
25+ applicationDefaultJvmArgs = [
26+ ' --add-opens' , ' java.base/jdk.internal.module=ALL-UNNAMED'
27+ ]
3428}
You can’t perform that action at this time.
0 commit comments