plugins { id "io.freefair.lombok" version "8.11" } group = 'com.reajason.javaweb' version = rootProject.version dependencies { testImplementation project(":vul:vul-webapp") testImplementation project(":common") testImplementation project(":tools:behinder") testImplementation project(":tools:godzilla") testImplementation project(":tools:suo5") testImplementation project(":tools:ant-sword") testImplementation project(':generator') testImplementation 'net.bytebuddy:byte-buddy' testImplementation 'javax.servlet:javax.servlet-api' testImplementation 'javax.websocket:javax.websocket-api' testImplementation 'jakarta.servlet:jakarta.servlet-api' testImplementation 'org.java-websocket:Java-WebSocket' testImplementation 'com.squareup.okhttp3:okhttp' testImplementation 'com.alibaba.fastjson2:fastjson2' testImplementation 'org.slf4j:slf4j-simple:2.0.16' testImplementation platform('org.junit:junit-bom') testRuntimeOnly 'org.junit.platform:junit-platform-launcher' testImplementation 'org.junit.jupiter:junit-jupiter' testImplementation 'org.junit.platform:junit-platform-reporting' testImplementation 'org.hamcrest:hamcrest' testImplementation 'org.testcontainers:testcontainers' testImplementation 'org.testcontainers:junit-jupiter' } tasks.withType(Test).tap { configureEach { testLogging { events "passed", "skipped", "failed" } } } tasks.withType(Test).configureEach { jvmArgs += [ '--add-opens=java.base/java.util=ALL-UNNAMED', '--add-opens=java.xml/com.sun.org.apache.xalan.internal.xsltc.trax=ALL-UNNAMED', '--add-opens=java.xml/com.sun.org.apache.xalan.internal.xsltc.runtime=ALL-UNNAMED' ] } idea { module { excludeDirs += file('src/main') } } test { dependsOn(":vul:vul-webapp:war", ":vul:vul-webapp-expression:war", ":vul:vul-webapp-jakarta:war", ":vul:vul-springboot2:bootJar", ":vul:vul-springboot2:bootWar", ":vul:vul-springboot2-webflux:bootJar", ":vul:vul-springboot3:bootJar", ":vul:vul-springboot3-webflux:bootJar", ) useJUnitPlatform() finalizedBy jacocoTestReport }