Skip to content

Commit

Permalink
fix JAVA11 reflection exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahoo-Wang committed Nov 25, 2022
1 parent 4de49d8 commit a72bd70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle.kts
Expand Up @@ -118,7 +118,10 @@ configure(libraryProjects) {
tasks.withType<Test> {
useJUnitPlatform()
// fix logging missing code for JacocoPlugin
jvmArgs = listOf("-Dlogback.configurationFile=${rootProject.rootDir}/config/logback.xml")
jvmArgs = listOf(
"--add-opens=java.base/java.util=ALL-UNNAMED",
"-Dlogback.configurationFile=${rootProject.rootDir}/config/logback.xml"
)
}

dependencies {
Expand Down

0 comments on commit a72bd70

Please sign in to comment.