完成:实验二

This commit is contained in:
2025-03-17 23:13:25 +08:00
parent 1a884cbcc7
commit 4f4664995c
20 changed files with 714 additions and 1 deletions
+33
View File
@@ -0,0 +1,33 @@
plugins {
id 'java'
id 'war'
}
group 'com.msksbr.homework2.servlet'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
ext {
junitVersion = '5.11.0'
}
sourceCompatibility = '8'
targetCompatibility = '8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
dependencies {
compileOnly('jakarta.servlet:jakarta.servlet-api:6.1.0')
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
}
test {
useJUnitPlatform()
}