mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
refactor: change vul modules structure
This commit is contained in:
@@ -12,7 +12,7 @@ group = 'com.reajason.javaweb'
|
|||||||
version = ''
|
version = ''
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation project(":vul-webapp")
|
testImplementation project(":vul:vul-webapp")
|
||||||
testImplementation project(":common")
|
testImplementation project(":common")
|
||||||
testImplementation project(":behinder")
|
testImplementation project(":behinder")
|
||||||
testImplementation project(":godzilla")
|
testImplementation project(":godzilla")
|
||||||
@@ -52,11 +52,7 @@ idea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test {
|
test {
|
||||||
dependsOn ":vul-webapp:war", ":vul-webapp-expression:war", ":vul-webapp-jakarta:war"
|
dependsOn ":vul:vul-webapp:war", ":vul:vul-webapp-expression:war", ":vul:vul-webapp-jakarta:war"
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
// maxParallelForks Runtime.runtime.availableProcessors().intdiv(2) ?: 1
|
|
||||||
// forkEvery = 1
|
|
||||||
// systemProperty 'junit.jupiter.execution.parallel.enabled', 'true'
|
|
||||||
// systemProperty 'junit.jupiter.execution.parallel.mode.default', 'concurrent'
|
|
||||||
finalizedBy jacocoTestReport
|
finalizedBy jacocoTestReport
|
||||||
}
|
}
|
||||||
@@ -12,9 +12,9 @@ import java.nio.file.Paths;
|
|||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class ContainerTool {
|
public class ContainerTool {
|
||||||
public static final MountableFile warJakartaFile = MountableFile.forHostPath(Paths.get("../vul-webapp-jakarta/build/libs/vul-webapp-jakarta.war").toAbsolutePath());
|
public static final MountableFile warJakartaFile = MountableFile.forHostPath(Paths.get("../vul/vul-webapp-jakarta/build/libs/vul-webapp-jakarta.war").toAbsolutePath());
|
||||||
public static final MountableFile warExpressionFile = MountableFile.forHostPath(Paths.get("../vul-webapp-expression/build/libs/vul-webapp-expression.war").toAbsolutePath());
|
public static final MountableFile warExpressionFile = MountableFile.forHostPath(Paths.get("../vul/vul-webapp-expression/build/libs/vul-webapp-expression.war").toAbsolutePath());
|
||||||
public static final MountableFile warFile = MountableFile.forHostPath(Paths.get("../vul-webapp/build/libs/vul-webapp.war").toAbsolutePath());
|
public static final MountableFile warFile = MountableFile.forHostPath(Paths.get("../vul/vul-webapp/build/libs/vul-webapp.war").toAbsolutePath());
|
||||||
|
|
||||||
|
|
||||||
public static String getUrl(GenericContainer<?> container) {
|
public static String getUrl(GenericContainer<?> container) {
|
||||||
|
|||||||
+4
-3
@@ -8,7 +8,8 @@ include 'deserialize'
|
|||||||
include 'generator'
|
include 'generator'
|
||||||
include 'boot'
|
include 'boot'
|
||||||
include 'integration-test'
|
include 'integration-test'
|
||||||
include 'vul-webapp'
|
|
||||||
include 'vul-webapp-jakarta'
|
|
||||||
include 'vul-webapp-expression'
|
|
||||||
|
|
||||||
|
include 'vul'
|
||||||
|
include 'vul:vul-webapp'
|
||||||
|
include 'vul:vul-webapp-jakarta'
|
||||||
|
include 'vul:vul-webapp-expression'
|
||||||
Reference in New Issue
Block a user